)]}'
{
  "commit": "bf89e87427fb99b994eb0dfb710bb4b45785f733",
  "tree": "0fbfceacbce595338ebe1a16056241f7d1f4c590",
  "parents": [
    "c3d2d68ad68d044417bbecaa0ebb0aa0dfb44b5f"
  ],
  "author": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Fri Dec 18 16:35:23 2015 +0100"
  },
  "committer": {
    "name": "Markus Armbruster",
    "email": "armbru@redhat.com",
    "time": "Wed Jan 13 15:16:18 2016 +0100"
  },
  "message": "vhdx: Fix \"log that needs to be replayed\" error message\n\nThe arguments of error_setg_errno() should yield a short error string\nwithout newlines.\n\nHere, we try to append additional help to the error message by\nembedding newlines in the error string.  That\u0027s nice, but it\u0027s doesn\u0027t\nplay nicely with the errno part.  tests/qemu-iotests/070.out shows the\nresulting mess:\n\n    can\u0027t open device TEST_DIR/iotest-dirtylog-10G-4M.vhdx: VHDX image file \u0027TEST_DIR/iotest-dirtylog-10G-4M.vhdx\u0027 opened read-only, but contains a log that needs to be replayed.  To replay the log, execute:\n     qemu-img check -r all \u0027TEST_DIR/iotest-dirtylog-10G-4M.vhdx\u0027: Operation not permitted\n\nSwitch to error_setg() and error_append_hint().  Result:\n\n    can\u0027t open device TEST_DIR/iotest-dirtylog-10G-4M.vhdx: VHDX image file \u0027TEST_DIR/iotest-dirtylog-10G-4M.vhdx\u0027 opened read-only, but contains a log that needs to be replayed\n    To replay the log, run:\n    qemu-img check -r all \u0027TEST_DIR/iotest-dirtylog-10G-4M.vhdx\u0027\n\nSigned-off-by: Markus Armbruster \u003carmbru@redhat.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nMessage-Id: \u003c1450452927-8346-21-git-send-email-armbru@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "47ae4b1351c84f20014beb32f7d71caa8a09827f",
      "old_mode": 33188,
      "old_path": "block/vhdx-log.c",
      "new_id": "ab86416defcbbfe04da87f790a02515c50efd160",
      "new_mode": 33188,
      "new_path": "block/vhdx-log.c"
    },
    {
      "type": "modify",
      "old_id": "ffd425157f4c28f1efa68c8a2e52307b86d95166",
      "old_mode": 33188,
      "old_path": "tests/qemu-iotests/070.out",
      "new_id": "131a5b17dc8c98a0bd8a1952792b0f8b000a8692",
      "new_mode": 33188,
      "new_path": "tests/qemu-iotests/070.out"
    }
  ]
}
