qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Can I mount encrypt qcow2?


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] Can I mount encrypt qcow2?
Date: Fri, 21 Jul 2017 09:38:16 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Fri, Jul 21, 2017 at 09:44:33AM +0800, 陳培泓 wrote:
> I re-build qemu from the https://github.com/qemu/qemu, and it didn't show
> any errors.
> 
> I tried the cmd you suggested below:
> 
> > qemu-nbd --object secret,id=sec0,file=passwd.txt,format=raw \
> >            -c /dev/nbd0 \
> >            --image-opts driver=qcow2,file.filename=
> > demo.qcow2,encrypt.format=luks,encrypt.key-secret=sec0
> 
> but it shows unrecognized option '--object '
> why?I missed to install something?

Sounds like you're not running the binaries you just built


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]