[libvirt-users] libvirt java api create volume bug?

zhijun liu lzjun567 at gmail.com
Fri Oct 12 04:55:38 UTC 2012


I use  libirt Java AP { pool.storageVolCreateXML(xml,0)} to create a volume
,notice:here I define the format is "qcow2",

the xml file is :

     <capacity unit="KB">512000</capacity>
          <format type="qcow2" />

when use command  check the volume's format,

root at 60:/dev/vgtest2# qemu-img info volume8
image: volume8
file format: raw
virtual size: 500M (524288000 bytes)
disk size: 0

I think this is a bug.can you fix it?

the libvirt version is 0.9.8

libivrt-java version is 0.4.9



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20121012/b8b39a6e/attachment.htm>

More information about the libvirt-users mailing list