[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2 1/2] qcow2: include LUKS payload overhead in
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v2 1/2] qcow2: include LUKS payload overhead in qemu-img measure |
Date: |
Fri, 15 Feb 2019 20:11:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
On 23.01.19 11:33, Stefan Hajnoczi wrote:
> 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 <address@hidden>
> ---
> block/qcow2.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 71 insertions(+), 1 deletion(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-block] [PATCH v2 1/2] qcow2: include LUKS payload overhead in qemu-img measure,
Max Reitz <=