hi,all

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 :

<volume>
     <name>volume8</name>
     <capacity unit="KB">512000</capacity>
     <target>
          <format type="qcow2" />
     </target>
</volume>

when use command  check the volume's format,

root@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

os:ubuntu12.04

thanks

liuzhijun