summaryrefslogtreecommitdiffstats
path: root/nbd
diff options
context:
space:
mode:
authorJohn Snow2019-03-12 17:05:48 +0100
committerJohn Snow2019-03-12 17:05:48 +0100
commitc28ddbb07ef39d79a81941d97faa1a1bb1ce2249 (patch)
tree1de1fc6632e4b7fa6f51ba7eb2f3159da21b0293 /nbd
parentblock/dirty-bitmaps: rename frozen predicate helper (diff)
downloadqemu-c28ddbb07ef39d79a81941d97faa1a1bb1ce2249.tar.gz
qemu-c28ddbb07ef39d79a81941d97faa1a1bb1ce2249.tar.xz
qemu-c28ddbb07ef39d79a81941d97faa1a1bb1ce2249.zip
block/dirty-bitmap: remove set/reset assertions against enabled bit
bdrv_set_dirty_bitmap and bdrv_reset_dirty_bitmap are only used as an internal API by the mirror and migration areas of our code. These calls modify the bitmap, but do so at the behest of QEMU and not the guest. Presently, these bitmaps are always "enabled" anyway, but there's no reason they have to be. Modify these internal APIs to drop this assertion. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190223000614.13894-4-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions