Allow QEMU to read in bitmaps that have the in-use bit set, for the
purposes of allowing users to delete those bitmaps.
This is chosen in preference to a hard error on load to minimize
impact for a non-critical error, but to force the user or management
utility to acknowledge that the bitmap is no longer viable.
Requires: [PATCH v3 00/10] dirty-bitmaps: deprecate @status field
John Snow (4):
block/dirty-bitmaps: add inconsistent bit
block/dirty-bitmap: add inconsistent status
block/dirty-bitmaps: add block_dirty_bitmap_check function
block/dirty-bitmaps: implement inconsistent bit
block/dirty-bitmap.c | 65 +++++++++++++++++++++++-----
block/qcow2-bitmap.c | 77 ++++++++++++++++++----------------
blockdev.c | 49 ++++------------------
include/block/dirty-bitmap.h | 15 ++++++-
migration/block-dirty-bitmap.c | 12 ++----
nbd/server.c | 3 +-
qapi/block-core.json | 15 +++++--
7 files changed, 133 insertions(+), 103 deletions(-)
--
2.17.2