Skip to content

qemu-img: add bitmap info output

John Snow qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest10 patches 8 repliesIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10qcow2/bitmap: remove redundant arguments from bitmap_list_loadblock/qcow2-bitmap.c+9 -141 reply
2/10qcow2/bitmap: avoid adjusting bm->flags for RO bitmapsblock/qcow2-bitmap.c+21 -301 reply
3/10qcow2/bitmap: cache bm_listblock/qcow2-bitmap.c block/qcow2.c block/qcow2.h+52 -265 replies
4/10qcow2/bitmap: cache loaded bitmapsblock/qcow2-bitmap.c+2 -01 reply
5/10qcow2/bitmap: reject IN_USE bitmaps on rw reloadblock/qcow2-bitmap.c+15 -160 replies
6/10qcow2/bitmap: load IN_USE bitmaps if disk is ROblock/qcow2-bitmap.c+15 -170 replies
7/10qcow2/bitmap: track bitmap typeblock/qcow2-bitmap.c+4 -10 replies
8/10qcow2/bitmap: track extra_data_sizeblock/qcow2-bitmap.c+3 -10 replies
9/10qapi: add bitmap infoqapi/block-core.json+63 -10 replies
10/10qcow2/bitmap: add basic bitmaps infoblock/qcow2-bitmap.c block/qcow2.c block/qcow2.h+92 -20 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchVladimir Sementsov-Ogievskiy
1/10R-b
2/10R-b
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/10] qemu-img: add bitmap info output

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(-)
Signature · 1 line
2.14.3