[libvirt] HVM startup problem"unknown root elementi for storage pool"

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

 



Hi,

I'm having a problem with starting a HVM virtual machine on Xen-3.4 with python-libvirt. This is the XML:

<?xml version="1.0" encoding="utf-8"?>
<domain type="xen">
 <name>b07d6538-60f5-44a9-90e7-761304968e17</name>
 <uuid>b07d6538-60f5-44a9-90e7-761304968e17</uuid>
 <on_poweroff>destroy</on_poweroff>
 <on_reboot>restart</on_reboot>
 <on_crash>destroy</on_crash>
 <memory>131072</memory>
 <vcpu>1</vcpu>
 <os>
   <type>hvm</type>
   <boot dev="hd" />
 </os>
 <devices>
   <graphics type="vnc" />
   <input type="tablet" />
   <interface type="bridge">
     <source bridge="eth0" />
   </interface>
   <disk type="file">
     <source file="/xen-hvm-test/disk0.img" />
     <target dev="sda1" />
   </disk>
 </devices>
</domain>

Then I call

connection.createXML(libvirtXmlDescription, 0)

which leads to an exception "unknown root elementi for storage pool".

I'm using the Debian package "libvirt0" 0.4.6-10. I guess that's 0.6.4 actually, please tell me if that's a wrong assumption?? The 0.6.4 source code seems to have corrected "elementi" to "element" that's why I'm wondering which version I actually have.

Why does this happen? Is there anything missing in my XML description?

Best regards

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]