]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2-bitmap: add qcow2_reopen_bitmaps_rw_hint()
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 20 Mar 2018 17:05:18 +0000 (20:05 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 26 Mar 2018 19:17:24 +0000 (21:17 +0200)
commitb1336cc2ec87a6593e1167af6e5b2cbd3d31acac
tree03086036ce3f1c9f296cb0b32439267a39e99281
parent7b93d78a04aa242d377ae213b79db6c319c71847
qcow2-bitmap: add qcow2_reopen_bitmaps_rw_hint()

Add version of qcow2_reopen_bitmaps_rw, which do the same work but
also return a hint about was header updated or not. This will be
used in the following fix for bitmaps reloading after migration.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180320170521.32152-2-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-bitmap.c
block/qcow2.h