libvirt java api create volume bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux