summaryrefslogtreecommitdiffstats
path: root/include/block/block_int.h
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2019-09-27 14:23:54 +0200
committerJohn Snow2019-10-17 23:53:28 +0200
commitf6333cbf8bc78c5fed3311c893597ad8d65be235 (patch)
treefef5be8679784ea4e96ea98a00b9fef111750d4a /include/block/block_int.h
parentiotests: add test 260 to check bitmap life after snapshot + commit (diff)
downloadqemu-f6333cbf8bc78c5fed3311c893597ad8d65be235.tar.gz
qemu-f6333cbf8bc78c5fed3311c893597ad8d65be235.tar.xz
qemu-f6333cbf8bc78c5fed3311c893597ad8d65be235.zip
block/qcow2-bitmap: fix and improve qcow2_reopen_bitmaps_rw
- Correct check for write access to file child, and in correct place (only if we want to write). - Support reopen rw -> rw (which will be used in following commit), for example, !bdrv_dirty_bitmap_readonly() is not a corruption if bitmap is marked IN_USE in the image. - Consider unexpected bitmap as a corruption and check other combinations of in-image and in-RAM bitmaps. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190927122355.7344-9-vsementsov@virtuozzo.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block/block_int.h')
0 files changed, 0 insertions, 0 deletions