diff options
author | Stefan Hajnoczi | 2019-02-18 11:45:24 +0100 |
---|---|---|
committer | Max Reitz | 2019-02-25 15:11:28 +0100 |
commit | 61914f8906fabbae26372a576d9dd988c5e22b75 (patch) | |
tree | b820fc218ba85f7912764924cee8218e512e16e4 /tests/qemu-iotests/178.out.qcow2 | |
parent | iotests.py: s/_/-/g on keys in qmp_log() (diff) | |
download | qemu-61914f8906fabbae26372a576d9dd988c5e22b75.tar.gz qemu-61914f8906fabbae26372a576d9dd988c5e22b75.tar.xz qemu-61914f8906fabbae26372a576d9dd988c5e22b75.zip |
qcow2: include LUKS payload overhead in qemu-img measure
LUKS encryption reserves clusters for its own payload data. The size of
this area must be included in the qemu-img measure calculation so that
we arrive at the correct minimum required image size.
(Ab)use the qcrypto_block_create() API to determine the payload
overhead. We discard the payload data that qcrypto thinks will be
written to the image.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190218104525.23674-2-stefanha@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/178.out.qcow2')
0 files changed, 0 insertions, 0 deletions