From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:44955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grTjd-0005Bh-JD for qemu-devel@nongnu.org; Wed, 06 Feb 2019 15:23:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grTjW-0001A6-J7 for qemu-devel@nongnu.org; Wed, 06 Feb 2019 15:23:49 -0500 References: <20190206195551.28893-1-mreitz@redhat.com> <20190206195551.28893-5-mreitz@redhat.com> From: Eric Blake Message-ID: Date: Wed, 6 Feb 2019 14:23:27 -0600 MIME-Version: 1.0 In-Reply-To: <20190206195551.28893-5-mreitz@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZBi7LrxGB397YQuFXk3ww5eCfBSpDz9An" Subject: Re: [Qemu-devel] [PATCH v3 4/8] qapi: Formalize qcow2 encryption probing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Markus Armbruster , Michael Roth , Kevin Wolf This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ZBi7LrxGB397YQuFXk3ww5eCfBSpDz9An From: Eric Blake To: Max Reitz , qemu-block@nongnu.org Cc: qemu-devel@nongnu.org, Markus Armbruster , Michael Roth , Kevin Wolf Message-ID: Subject: Re: [PATCH v3 4/8] qapi: Formalize qcow2 encryption probing References: <20190206195551.28893-1-mreitz@redhat.com> <20190206195551.28893-5-mreitz@redhat.com> In-Reply-To: <20190206195551.28893-5-mreitz@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2/6/19 1:55 PM, Max Reitz wrote: > Currently, you can give no encryption format for a qcow2 file while > still passing a key-secret. That does not conform to the schema, so > this patch changes the schema to allow it. >=20 > Signed-off-by: Max Reitz > --- > qapi/block-core.json | 31 ++++++++++++++++++++++++++++--- > block/qcow2.c | 3 +++ > 2 files changed, 31 insertions(+), 3 deletions(-) >=20 > @@ -2961,10 +2964,30 @@ > # @BlockdevQcow2EncryptionFormat: > # @aes: AES-CBC with plain64 initialization venctors We should fix that typo. > # > +# @auto: Determine the encryption format from the image > +# header. This only allows the use of the > +# key-secret option. (Since: 4.0) > +# > # Since: 2.10 Reviewed-by: Eric Blake --=20 Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org --ZBi7LrxGB397YQuFXk3ww5eCfBSpDz9An Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAlxbQj8ACgkQp6FrSiUn Q2qHjgf/WK0+bZ7BOFcxPlW/GgH3dUMNcEhnUmnW2rUiCHtAHa99jx3E2VlVg8RG 48TD8bbZIMaQQ0uAc3A9KGV59LnThwCF3vCYl0Gm1mVVDVIdHKgvRZEZ/ByRsa6T tyf/VlfS5e4YYEZS9mPh9/05YNuiDqbRFCWanxn72hk4h/Hg+Awl2Eye0oceGRfQ jveWR9scAsg3fWcAgDgSC3x/aAKO0G7gKNf5UD0Jo+kuaRCt+bVqvkGHZ92VOXZu rwXxRi7n0QV+nMh7UGHRl3YMYMoPmPff0H2Zgw3Gya0c+C0jTxhVOVBT4VYA2fMA 3Uua8f8cVFJgwSLgd33CckF9i+eDVQ== =jWCN -----END PGP SIGNATURE----- --ZBi7LrxGB397YQuFXk3ww5eCfBSpDz9An--