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 | 51 +++++++++++++++++++++++++++++++- tests/qemu-iotests/178 | 8 +++++ tests/qemu-iotests/178.out.qcow2 | 24 +++++++++++++++ 3 files changed, 82 insertions(+), 1 deletion(-) -- 2.20.1