)]}'
{
  "commit": "8f3c8f6a30abed379a65353e97ca230b2d00a3c5",
  "tree": "d63855acc18111b293f5cb4b4064dcaa087ee5ba",
  "parents": [
    "6933f46332952088982bcab22a30574c48776e57"
  ],
  "author": {
    "name": "Denis V. Lunev",
    "email": "den@openvz.org",
    "time": "Fri Aug 14 22:35:57 2026 +0200"
  },
  "committer": {
    "name": "Denis V. Lunev",
    "email": "den@openvz.org",
    "time": "Thu Sep 10 23:48:11 2026 +0200"
  },
  "message": "parallels: do not trust the bitmaps of an image which was not closed\n\nThe inuse magic in the header says that the image was not closed\ncorrectly. The bitmaps stored in the Format Extension are then stale by\ndefinition: they were written by the last inactivation, and every write\nwhich happened after it is missing from them. Nothing said so, the\nbitmaps were loaded and handed out as valid, and an incremental backup\ntaken from one of them would silently miss the data written after the\nlast clean close.\n\nMark them inconsistent, as qcow2 does for a bitmap whose in-use flag\nsurvived a crash. Using such a bitmap fails with an error naming it, so\nthe loss is reported to whoever tries to rely on it instead of being\ndiscovered later in a backup.\n\nparallels_save_bitmap() already skips an inconsistent bitmap, so it is\nnot written back. The format has no per bitmap flag to record that the\ncontents are unusable, so keeping it would present it as valid again on\nthe next open. Say what happens, as the bitmap disappears from the image\nand \u0027qemu-img bitmap --remove\u0027 would report it as missing afterwards.\n\nThe image data itself is unaffected: it is repaired at open as before,\nand only the bitmaps are dropped.\n\nCc: Stefan Hajnoczi \u003cstefanha@redhat.com\u003e\nSigned-off-by: Denis V. Lunev \u003cden@openvz.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "17445d183b735698649095c6ffe0051cc2c91f2d",
      "old_mode": 33188,
      "old_path": "block/parallels-ext.c",
      "new_id": "b7fac2514a907322abb1ea190d2ed3c8d4c9e662",
      "new_mode": 33188,
      "new_path": "block/parallels-ext.c"
    },
    {
      "type": "modify",
      "old_id": "6f60fda62b0f7586078cae7979afed17d45732fa",
      "old_mode": 33261,
      "old_path": "tests/qemu-iotests/tests/parallels-checks",
      "new_id": "575b736e35f54231ae1d6e2426467b18ea658eac",
      "new_mode": 33261,
      "new_path": "tests/qemu-iotests/tests/parallels-checks"
    },
    {
      "type": "modify",
      "old_id": "d40f865868677cdc4f0b7c676d9369528750ce64",
      "old_mode": 33188,
      "old_path": "tests/qemu-iotests/tests/parallels-checks.out",
      "new_id": "f390ea90d4684ad25a715059d03d18d26cc6003c",
      "new_mode": 33188,
      "new_path": "tests/qemu-iotests/tests/parallels-checks.out"
    }
  ]
}
