qcow2 support compress option to compress image file.
I try to read both files through API by libguestfs(such as pread_device)
I'm confused with the performance during read or write
I tried to compress A.qcow2 to A_compress.qcow2 and it changes from 16GB to
23MB
I tried read on A_compress.qcow2
Can I mount encrypt qcow2 file through qemu-nbd?
I tried but failed and nothing about that in man page
emo.qcow2,encrypt.format=luks,encrypt.key-secret=sec0
Supposed the encrypted file called disk_encry.qcow2
Can I mount disk_encry.qcow2 by the cmd?
> qemu-nbd -c /dev/nbd0 disk_encry.qcow2
2017-07-20 16:59 GMT+08:00 Daniel P. Berrange :
> On Thu, Jul 20, 2017 at 10:43:53AM +0800, 陳培泓
I build qemu from the https://github.com/qemu/qemu, and it didn't show any
errors.
I tried qemu-nbd --object secret,id=sec0...
but it shows unrecognized option '--object '
how to solve it?
w2,encrypt.format=luks,encrypt.key-secret=sec0
but it shows unrecognized option '--object '
why?I missed to install something?
2017-07-20 17:12 GMT+08:00 Daniel P. Berrange :
> On Thu, Jul 20, 2017 at 05:07:49PM +0800, 陳培泓 wrote:
> > oh~ I don't know can expose th
> Block format 'qcow2' does not support the option 'encrypt.format'
Maybe it doen't support yet?
2017-07-21 16:38 GMT+08:00 Daniel P. Berrange :
> On Fri, Jul 21, 2017 at 09:44:33AM +0800, 陳培泓 wrote:
> > I re-build qemu from the https://github.com/qemu/qemu,
It works when I replace /usr/bin/qemu-nbd with qemu-nbd which I just built
from qemu github.
2017-07-21 17:26 GMT+08:00 Fam Zheng :
> On Fri, 07/21 10:15, Peter Maydell wrote:
> > On 21 July 2017 at 05:10, Fam Zheng wrote:
> > > On Thu, 07/20 19:06, 陳培泓 wrote:
> > >&g
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 :
> On Fri, Jul 21, 2017 at 05:31:04PM +0800, 陳培泓 wrote:
> > It works after I
I check to the newest version of qemu.
and do the cmds to install followed by the documents in github:
> mkdir build
> cd build
> ../configure
> make
and it show nothing errors
It's the version when I enter qemu-img --help:
and I execute encrypt format(luks) to the qcow2 file:
always shows