Allow qemu-img to show information about bitmaps stored in qcow2 images. v2: - Remove bitmap manipulation command in favor of a part 2 series later - Responded to much of Vladimir's feedback (Thank you!); - In particular, make sure IN_USE bitmaps cannot be remounted RW. - Fixed semantics of the extra_data flag
John Snow (10): qcow2/bitmap: remove redundant arguments from bitmap_list_load qcow2/bitmap: avoid adjusting bm->flags for RO bitmaps qcow2/bitmap: cache bm_list qcow2/bitmap: cache loaded bitmaps qcow2/bitmap: reject IN_USE bitmaps on rw reload qcow2/bitmap: load IN_USE bitmaps if disk is RO qcow2/bitmap: track bitmap type qcow2/bitmap: track extra_data_size qapi: add bitmap info qcow2/bitmap: add basic bitmaps info block/qcow2-bitmap.c | 276 ++++++++++++++++++++++++++++++++++----------------- block/qcow2.c | 9 ++ block/qcow2.h | 3 + qapi/block-core.json | 64 +++++++++++- 4 files changed, 260 insertions(+), 92 deletions(-) -- 2.14.3