From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dYUKe-0002QG-9P for qemu-devel@nongnu.org; Fri, 21 Jul 2017 05:34:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dYUKa-0008Bc-Ar for qemu-devel@nongnu.org; Fri, 21 Jul 2017 05:34:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49774) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dYUKa-0008Ai-4n for qemu-devel@nongnu.org; Fri, 21 Jul 2017 05:34:44 -0400 Date: Fri, 21 Jul 2017 10:34:33 +0100 From: "Daniel P. Berrange" Message-ID: <20170721093433.GG17693@redhat.com> Reply-To: "Daniel P. Berrange" References: <20170720085958.GC21566@redhat.com> <20170720091224.GD21566@redhat.com> <20170721083816.GC17693@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Can I mount encrypt qcow2? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?B?6Zmz5Z+55rOT?= Cc: qemu-devel@nongnu.org On Fri, Jul 21, 2017 at 05:31:04PM +0800, =E9=99=B3=E5=9F=B9=E6=B3=93 wro= te: > It works after I replace the /usr/bin/qemu-nbd with binary I built. >=20 > My cmd is : >=20 > > qemu-nbd --object secret,id=3Dsec0,file=3Dpasswd.txt,format=3Draw \ > > --image-opts driver=3Dqcow2,file.filename=3D > > demo.qcow2,encrypt.format=3Dluks,encrypt.key-secret=3Dsec0 >=20 >=20 > But I got other message: >=20 > > Block format 'qcow2' does not support the option 'encrypt.format' >=20 >=20 > Maybe it doen't support yet? It is supported. I think you're git checkout is not fully updated. Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|