]> Git Repo - qemu.git/commit
block/qcow2-bitmap: get rid of bdrv_has_changed_persistent_bitmaps
authorVladimir Sementsov-Ogievskiy <[email protected]>
Fri, 27 Sep 2019 12:23:50 +0000 (15:23 +0300)
committerJohn Snow <[email protected]>
Thu, 17 Oct 2019 21:02:32 +0000 (17:02 -0400)
commitf88676c149d3c7cde2710c137aa5ef31e7f92eb4
tree571c7320deee46d80811cd84b552740fc48fba1e
parent5752f89a788537cccc7a8e05904fb1b4ddf5eb43
block/qcow2-bitmap: get rid of bdrv_has_changed_persistent_bitmaps

Firstly, no reason to optimize failure path. Then, function name is
ambiguous: it checks for readonly and similar things, but someone may
think that it will ignore normal bitmaps which was just unchanged, and
this is in bad relation with the fact that we should drop IN_USE flag
for unchanged bitmaps in the image.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: John Snow <[email protected]>
Message-id: 20190927122355[email protected]
Signed-off-by: John Snow <[email protected]>
block/dirty-bitmap.c
block/qcow2-bitmap.c
include/block/dirty-bitmap.h
This page took 0.025668 seconds and 4 git commands to generate.