Skip to content

qcow2: include LUKS payload overhead in qemu-img measure

Stefan Hajnoczi qemu-devel 3 versions – Applied

Status from this message: Applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v22 patches 3 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Changes in v3 from the cover letter

* Use encrypt.iter-time=10 to speed up qemu-iotests 178 [Max]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2qcow2: include LUKS payload overhead in qemu-img measureblock/qcow2.c+71 -10 replies
2/2iotests: add LUKS payload overhead to 178 qemu-img measure testtests/qemu-iotests/178 tests/qemu-iotests/178.out.qcow2+32 -00 replies

Reviews trailers per patch

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

PatchMax ReitzPhilippe Mathieu-Daudé
1/2R-b
2/2R-b R-b

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

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/2] qcow2: include LUKS payload overhead in qemu-img measure

v3:
* Use encrypt.iter-time=10 to speed up qemu-iotests 178 [Max]
v2:
* Take into account all "encrypt." image creation options since the LUKS payload size varies depending on the cipher [Max]

The LUKS payload has a significant size (>1 MB). It must be included in the qemu-img measure calculation so we arrive at the correct minimum image size.

Stefan Hajnoczi (2):
qcow2: include LUKS payload overhead in qemu-img measure
iotests: add LUKS payload overhead to 178 qemu-img measure test

 block/qcow2.c                    | 72 +++++++++++++++++++++++++++++++-
 tests/qemu-iotests/178           |  8 ++++
 tests/qemu-iotests/178.out.qcow2 | 24 +++++++++++
 3 files changed, 103 insertions(+), 1 deletion(-)
Signature · 1 line
2.20.1