
23 Feb
2019
23 Feb
'19
9:11 p.m.
On 2/22/19 6:06 PM, John Snow wrote:
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> --- block/dirty-bitmap.c | 2 -- 1 file changed, 2 deletions(-)
Reviewed-by: Eric Blake <eblake@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org