[PATCH v3 0/9] qemu-img: Add convert --bitmaps

Eric Blake posted 9 patches 3 years, 12 months ago
Test docker-mingw@fedora passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200508180340.675712-1-eblake@redhat.com
Maintainers: Kevin Wolf <kwolf@redhat.com>, Eric Blake <eblake@redhat.com>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Markus Armbruster <armbru@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
There is a newer version of this series
docs/tools/qemu-img.rst          |  77 ++++---
Makefile.objs                    |   3 +-
qapi/block-core.json             |  15 +-
block/qcow2.h                    |   1 +
include/block/block_int.h        |  13 ++
include/block/dirty-bitmap.h     |   1 +
block/crypto.c                   |   2 +-
block/dirty-bitmap.c             |   9 +
block/monitor/bitmap-qmp-cmds.c  | 323 +++++++++++++++++++++++++++++
block/qcow2-bitmap.c             |   7 +
block/qcow2.c                    |  38 +++-
block/raw-format.c               |   2 +-
blockdev.c                       | 303 +--------------------------
qemu-img.c                       | 340 ++++++++++++++++++++++++++++++-
MAINTAINERS                      |   1 +
block/monitor/Makefile.objs      |   1 +
qemu-img-cmds.hx                 |  13 +-
tests/qemu-iotests/178.out.qcow2 |  16 ++
tests/qemu-iotests/190           |  43 +++-
tests/qemu-iotests/190.out       |  23 ++-
tests/qemu-iotests/291           | 112 ++++++++++
tests/qemu-iotests/291.out       |  78 +++++++
tests/qemu-iotests/group         |   1 +
23 files changed, 1077 insertions(+), 345 deletions(-)
create mode 100644 block/monitor/bitmap-qmp-cmds.c
create mode 100755 tests/qemu-iotests/291
create mode 100644 tests/qemu-iotests/291.out
[PATCH v3 0/9] qemu-img: Add convert --bitmaps
Posted by Eric Blake 3 years, 12 months ago
v2 was here, to see the original cover letter:
https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg03464.html

Since then:
- patch 2 was previously posted in isolation but fits well in this series
- patch 3 is new
- patch 4 and 5 were split from v2:2/6 [Max]
- new filename chosen in patch 5 is saner [Kevin]
- patch 6 allows list of operations on one bitmap name [Max]
- patch 7 exposes 0 when measuring v3 image without bitmaps [Max]
- patch 7 and 9 iotests beefed up [Max]
- patch 8 had enough rebase churn that I dropped R-b
- compilation passes on mingw [patchew]

001/9:[----] [--] 'docs: Sort sections on qemu-img subcommand parameters'
002/9:[down] 'qemu-img: Fix stale comments on doc location'
003/9:[down] 'block: Make it easier to learn which BDS support bitmaps'
004/9:[down] 'blockdev: Promote several bitmap functions to non-static'
005/9:[0076] [FC] 'blockdev: Split off basic bitmap operations for qemu-img'
006/9:[0199] [FC] 'qemu-img: Add bitmap sub-command'
007/9:[0078] [FC] 'qcow2: Expose bitmaps' size during measure'
008/9:[0017] [FC] 'qemu-img: Add convert --bitmaps option'
009/9:[0033] [FC] 'iotests: Add test 291 to for qemu-img bitmap coverage'

Series can also be downloaded at:
https://repo.or.cz/qemu/ericb.git/shortlog/refs/tags/qemu-img-bitmaps-v3

Eric Blake (9):
  docs: Sort sections on qemu-img subcommand parameters
  qemu-img: Fix stale comments on doc location
  block: Make it easier to learn which BDS support bitmaps
  blockdev: Promote several bitmap functions to non-static
  blockdev: Split off basic bitmap operations for qemu-img
  qemu-img: Add bitmap sub-command
  qcow2: Expose bitmaps' size during measure
  qemu-img: Add convert --bitmaps option
  iotests: Add test 291 to for qemu-img bitmap coverage

 docs/tools/qemu-img.rst          |  77 ++++---
 Makefile.objs                    |   3 +-
 qapi/block-core.json             |  15 +-
 block/qcow2.h                    |   1 +
 include/block/block_int.h        |  13 ++
 include/block/dirty-bitmap.h     |   1 +
 block/crypto.c                   |   2 +-
 block/dirty-bitmap.c             |   9 +
 block/monitor/bitmap-qmp-cmds.c  | 323 +++++++++++++++++++++++++++++
 block/qcow2-bitmap.c             |   7 +
 block/qcow2.c                    |  38 +++-
 block/raw-format.c               |   2 +-
 blockdev.c                       | 303 +--------------------------
 qemu-img.c                       | 340 ++++++++++++++++++++++++++++++-
 MAINTAINERS                      |   1 +
 block/monitor/Makefile.objs      |   1 +
 qemu-img-cmds.hx                 |  13 +-
 tests/qemu-iotests/178.out.qcow2 |  16 ++
 tests/qemu-iotests/190           |  43 +++-
 tests/qemu-iotests/190.out       |  23 ++-
 tests/qemu-iotests/291           | 112 ++++++++++
 tests/qemu-iotests/291.out       |  78 +++++++
 tests/qemu-iotests/group         |   1 +
 23 files changed, 1077 insertions(+), 345 deletions(-)
 create mode 100644 block/monitor/bitmap-qmp-cmds.c
 create mode 100755 tests/qemu-iotests/291
 create mode 100644 tests/qemu-iotests/291.out

-- 
2.26.2