hi stefan:
[root@kvm ~]# qemu-img -V qemu-img version 0.12.1, Copyright (c) 2004-2008 Fabrice Bellard OS centos 6.3 thanks At 2013-03-07 17:56:50,"Stefan Hajnoczi" <stefa...@gmail.com> wrote: >On Thu, Mar 07, 2013 at 02:49:30PM +0800, yue-kvm wrote: >> i create qcow2 format image with -o encryption, and assign password. >> >> but when i qemu-img info encryt.qcow2 , it display encryt.qcow2 info no >> master what i input, even just hit enter. >> the 'Password Authentication ' of qemu-img may be invalid. > >Don't worry, your data is encrypted. The qemu-img info password check >is unnecessary because qcow2 metadata is unencrypted. > >I didn't get a password prompt from qemu-img info on an encrypted qcow2 >file using qemu.git/master. > >Which version of qemu-img are you using? Perhaps the unnecessary prompt >has been fixed in a later version. > >Stefan >