)]}'
{
  "commit": "ddf3b47ef4b5ed0bf6558d4c2c8ae130b8d8a580",
  "tree": "d02ceeeb2d00c42c984cbe57b366ae3e040e4384",
  "parents": [
    "cc022140972f8b6ac3973c12ccf9dd6b1d2fd200"
  ],
  "author": {
    "name": "Max Reitz",
    "email": "mreitz@redhat.com",
    "time": "Wed Jun 06 21:37:01 2018 +0200"
  },
  "committer": {
    "name": "Max Reitz",
    "email": "mreitz@redhat.com",
    "time": "Mon Jun 11 16:18:45 2018 +0200"
  },
  "message": "qcow2: Do not mark inactive images corrupt\n\nWhen signaling a corruption on a read-only image, qcow2 already makes\nfatal events non-fatal (i.e., they will not result in the image being\nclosed, and the image header\u0027s corrupt flag will not be set).  This is\nnecessary because we cannot set the corrupt flag on read-only images,\nand it is possible because further corruption of read-only images is\nimpossible.\n\nInactive images are effectively read-only, too, so we should do the same\nfor them.  bdrv_is_writable() can tell us whether an image can actually\nbe written to, so use its result instead of !bs-\u003eread_only.\n\n(Otherwise, the assert(!(bs-\u003eopen_flags \u0026 BDRV_O_INACTIVE)) in\nbdrv_co_pwritev() will fail, crashing qemu.)\n\nCc: qemu-stable@nongnu.org\nSigned-off-by: Max Reitz \u003cmreitz@redhat.com\u003e\nMessage-id: 20180606193702.7113-3-mreitz@redhat.com\nReviewed-by: John Snow \u003cjsnow@redhat.com\u003e\nReviewed-by: Jeff Cody \u003cjcody@redhat.com\u003e\nSigned-off-by: Max Reitz \u003cmreitz@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6b2d88759d22b7ae2178f82df29dc81fb10c37f3",
      "old_mode": 33188,
      "old_path": "block/qcow2.c",
      "new_id": "6fa5e1d71a93b7d4c233bbd84b81e9446b64b185",
      "new_mode": 33188,
      "new_path": "block/qcow2.c"
    }
  ]
}
