diff options
author | Vladimir Sementsov-Ogievskiy | 2019-09-27 14:23:54 +0200 |
---|---|---|
committer | John Snow | 2019-10-17 23:53:28 +0200 |
commit | f6333cbf8bc78c5fed3311c893597ad8d65be235 (patch) | |
tree | fef5be8679784ea4e96ea98a00b9fef111750d4a /include/block/block_int.h | |
parent | iotests: add test 260 to check bitmap life after snapshot + commit (diff) | |
download | qemu-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