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: 陳培泓
Subject: Re: [Qemu-devel] Can I mount encrypt qcow2?
Date: Fri, 21 Jul 2017 17:41:14 +0800

oh Maybe the version is something wrong?

qemu-img -V

> qemu-img version 2.9.0


qemu-nbd -V

> qemu-nbd version 0.0.1


They're not correspondent?

2017-07-21 17:34 GMT+08:00 Daniel P. Berrange <address@hidden>:

> On Fri, Jul 21, 2017 at 05:31:04PM +0800, 陳培泓 wrote:
> > It works after I replace the /usr/bin/qemu-nbd with binary I built.
> >
> > My cmd is :
> >
> > > qemu-nbd --object secret,id=sec0,file=passwd.txt,format=raw \
> > >              --image-opts driver=qcow2,file.filename=
> > > demo.qcow2,encrypt.format=luks,encrypt.key-secret=sec0
> >
> >
> > But I got other message:
> >
> > > Block format 'qcow2' does not support the option 'encrypt.format'
> >
> >
> > Maybe it doen't support yet?
>
> It is supported. I think you're git checkout is not fully updated.
>
>
> 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]