From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSTxT-00028Q-1X for qemu-devel@nongnu.org; Mon, 11 Jun 2018 17:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSTxS-0006QN-D3 for qemu-devel@nongnu.org; Mon, 11 Jun 2018 17:02:35 -0400 References: <20180611205203.2624-1-mreitz@redhat.com> <20180611205203.2624-6-mreitz@redhat.com> From: Eric Blake Message-ID: <5c624efb-30d9-dd4c-281d-c7e9ee9f8336@redhat.com> Date: Mon, 11 Jun 2018 16:02:30 -0500 MIME-Version: 1.0 In-Reply-To: <20180611205203.2624-6-mreitz@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 05/10] qapi: Formalize qcow 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 , "Daniel P . Berrange" , Michael Roth , Kevin Wolf On 06/11/2018 03:51 PM, Max Reitz wrote: > qcow only supports a single encryption (and there is no reason why that > would change in the future), so we can make it the default. > > Signed-off-by: Max Reitz > --- > qapi/block-core.json | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Eric Blake > > diff --git a/qapi/block-core.json b/qapi/block-core.json > index 295ace42ae..98295ac30e 100644 > --- a/qapi/block-core.json > +++ b/qapi/block-core.json > @@ -2647,8 +2647,9 @@ > # Since: 2.10 > ## > { 'union': 'BlockdevQcowEncryption', > - 'base': { 'format': 'BlockdevQcowEncryptionFormat' }, > + 'base': { '*format': 'BlockdevQcowEncryptionFormat' }, > 'discriminator': 'format', > + 'default-variant': 'aes', > 'data': { 'aes': 'QCryptoBlockOptionsQCow' } } > > ## > -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org