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 :|