hi,all<div><br></div><div>I use  libirt Java AP { pool.storageVolCreateXML(xml,0)} to create a volume ,notice:here I define the format is "qcow2",<br><div><br></div><div>the xml file is :</div><div><br></div><div>
<div><volume></div><div>     <name>volume8</name></div><div>     <capacity unit="KB">512000</capacity></div><div>     <target></div><div>          <format type="qcow2" /></div>
<div>     </target></div><div></volume></div><div><br></div><div>when use command  check the volume's format,</div><div><br></div><div><div>root@60:/dev/vgtest2# qemu-img info volume8</div><div>image: volume8</div>
<div>file format: raw</div><div>virtual size: 500M (524288000 bytes)</div><div>disk size: 0</div></div><div><br></div><div>I think this is a bug.can you fix it?</div><div><br></div><div><br></div><div>the libvirt version is 0.9.8   </div>
<div><br></div><div>libivrt-java version is 0.4.9</div><div><br></div><div>os:ubuntu12.04</div><div><br></div><div>thanks</div><div><br></div><div>liuzhijun</div><div><br></div></div></div>