Skip to content

qcow2: Support refcount order amendment

Max Reitz qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to block-next (after some trivial rebasing).

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v9 Latest10 patches 5 repliesApplied
  2. v810 patches 5 repliesSuperseded

Changes in v9 from the cover letter

- Rebase on master
- Patch 8: s/qerror_report_err/error_report_err/

Patches in v9 Applied

#Subject and filesSizeRepliesApplied
1/10progress: Allow regressing progressutil/qemu-progress.c+2 -10 replies
2/10block: Add opaque value to the amend CBblock.c block/qcow2-cluster.c block/qcow2.c +4 more+24 -181 reply
3/10qcow2: Use error_report() in qcow2_amend_options()block/qcow2.c tests/qemu-iotests/061.out+13 -150 replies
4/10qcow2: Use abort() instead of assert(false)block/qcow2.c+2 -20 replies
5/10qcow2: Split upgrade/downgrade paths for amendblock/qcow2.c+16 -150 replies
6/10qcow2: Use intermediate helper CB for amendblock/qcow2.c+79 -10 replies
7/10qcow2: Add function for refcount order amendmentblock/qcow2-refcount.c block/qcow2.h+451 -00 replies
8/10qcow2: Invoke refcount order amendment functionblock/qcow2.c+35 -93 replies
9/10qcow2: Point to amend function in checkblock/qcow2-refcount.c+3 -00 replies
10/10iotests: Extend test 112 for qemu-img amendtests/qemu-iotests/112 tests/qemu-iotests/112.out+180 -00 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchEric BlakeStefan HajnocziAlberto Garcia
1/10R-b R-b
2/10R-b R-b R-b
3/10R-b R-b R-b
4/10R-b R-b R-b
5/10R-b R-b R-b
6/10R-b R-b
7/10R-b
8/10R-b
9/10R-b R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v9 thread

Cover letter [Qemu-devel] [PATCH v9 00/10] qcow2: Support refcount order amendment

(v1..v7 were named "qcow2: Support refcount orders != 4")

This series contains the final 10 patches of my qcow2 refcount order series, which add refcount order amendment functionality to qemu-img.

v9:
- Rebase on master
- Patch 8: s/qerror_report_err/error_report_err/

git backport-diff against v8:

Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively

001/10:[----] [--] 'progress: Allow regressing progress' 002/10:[----] [--] 'block: Add opaque value to the amend CB' 003/10:[----] [-C] 'qcow2: Use error_report() in qcow2_amend_options()' 004/10:[----] [--] 'qcow2: Use abort() instead of assert(false)' 005/10:[----] [--] 'qcow2: Split upgrade/downgrade paths for amend' 006/10:[----] [--] 'qcow2: Use intermediate helper CB for amend' 007/10:[----] [--] 'qcow2: Add function for refcount order amendment' 008/10:[0002] [FC] 'qcow2: Invoke refcount order amendment function' 009/10:[----] [--] 'qcow2: Point to amend function in check' 010/10:[----] [--] 'iotests: Extend test 112 for qemu-img amend'

Max Reitz (10):
progress: Allow regressing progress
block: Add opaque value to the amend CB
qcow2: Use error_report() in qcow2_amend_options()
qcow2: Use abort() instead of assert(false)
qcow2: Split upgrade/downgrade paths for amend
qcow2: Use intermediate helper CB for amend
qcow2: Add function for refcount order amendment
qcow2: Invoke refcount order amendment function
qcow2: Point to amend function in check
iotests: Extend test 112 for qemu-img amend

 block.c                    |   4 +-
 block/qcow2-cluster.c      |  14 +-
 block/qcow2-refcount.c     | 450 +++++++++++++++++++++++++++++++++++++++++++++
 block/qcow2.c              | 178 ++++++++++++++----
 block/qcow2.h              |   7 +-
 include/block/block.h      |   4 +-
 include/block/block_int.h  |   3 +-
 qemu-img.c                 |   5 +-
 tests/qemu-iotests/061.out |  14 +-
 tests/qemu-iotests/112     | 109 +++++++++++
 tests/qemu-iotests/112.out |  71 +++++++
 util/qemu-progress.c       |   3 +-
 12 files changed, 803 insertions(+), 59 deletions(-)
Signature · 1 line
2.4.6