All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] luks: add qemu-img measure support
@ 2020-01-08 11:22 Stefan Hajnoczi
  2020-01-08 11:22 ` [PATCH 1/4] luks: extract block_crypto_calculate_payload_offset() Stefan Hajnoczi
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Stefan Hajnoczi @ 2020-01-08 11:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Stefan Hajnoczi, qemu-block, Max Reitz

This patch series adds qemu-img measure support to the "luks" block driver.  We
just need to take into account the LUKS header when sizing the image.

Stefan Hajnoczi (4):
  luks: extract block_crypto_calculate_payload_offset()
  luks: implement .bdrv_measure()
  qemu-img: allow qemu-img measure --object without a filename
  iotests: add 282 luks qemu-img measure test

 block/crypto.c             | 146 +++++++++++++++++++++++++++++++++++++
 block/crypto.h             |   5 ++
 block/qcow2.c              |  59 +--------------
 qemu-img.c                 |   6 +-
 tests/qemu-iotests/282     |  93 +++++++++++++++++++++++
 tests/qemu-iotests/282.out |  30 ++++++++
 tests/qemu-iotests/group   |   1 +
 7 files changed, 281 insertions(+), 59 deletions(-)
 create mode 100755 tests/qemu-iotests/282
 create mode 100644 tests/qemu-iotests/282.out

-- 
2.24.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-09 10:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 11:22 [PATCH 0/4] luks: add qemu-img measure support Stefan Hajnoczi
2020-01-08 11:22 ` [PATCH 1/4] luks: extract block_crypto_calculate_payload_offset() Stefan Hajnoczi
2020-01-08 11:22 ` [PATCH 2/4] luks: implement .bdrv_measure() Stefan Hajnoczi
2020-01-08 11:22 ` [PATCH 3/4] qemu-img: allow qemu-img measure --object without a filename Stefan Hajnoczi
2020-01-08 11:22 ` [PATCH 4/4] iotests: add 282 luks qemu-img measure test Stefan Hajnoczi
2020-01-08 12:16 ` [PATCH 0/4] luks: add qemu-img measure support no-reply
2020-01-09 10:37   ` Stefan Hajnoczi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.