Hi ,
Please find the DEBUG o/p:
Virt_VirtualSystemManagementService.c(455): DefineSystem
xmlgen.c(571): New UUID
Virt_VirtualSystemManagementService.c(416): System XML:
<domain type='xen'>
<uuid>657146ae-20bf-43f5-9542-17adab081cfb</uuid>
<name>test_domain</name>
<on_poweroff>destroy</on_poweroff>
<on_crash>destroy</on_crash>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<currentMemory>524288</currentMemory>
<memory>524288</memory>
<vcpu>1</vcpu><devices>
<interface type='bridge'>
<mac address='00:16:3e:5d:c7:9e'/>
<script path='vif-bridge'/>
</interface>
<disk type='file' device='disk'>
<source file='/tmp/default-kvm-dimage'/>
<target dev='hda'/>
</disk>
</devices>
</domain>
misc_util.c(72): Connecting to libvirt with uri `xen'
libvir: XML error : missing kernel information
libvir: Xen Daemon error : XML description for domain is not well formed
or invalid
Virt_VirtualSystemManagementService.c(358): Failed to define domain from XML
std_invokemethod.c(305): Method `DefineSystem' returned 1
I tried creating the domain with the above xml, and it failed with the
same reason as above.
But I was successful in creating the XenFV guest after adding the
missing emulator tag to the xml.
I believe the emulator tag is mandatory for XenFV only, because I did
not see any problem with creating the KVM domain without emulator tag.
I checked if I could add the emulator info through the VSSD/RASD and
then call the DefineSystem() but was not able to do so.
Thanks and Regards,
Deepti.
Dan Smith wrote:
DK> /libvir: XML error : missing kernel information
DK> libvir: Xen Daemon error : XML description for domain is not well
DK> formed or invalid/
Okay, set the following before starting the cimserver:
export CU_DEBUG=/tmp/libvirt-cim.log
Then do the DefineSystem call and grab the XML description out. If
you can post that, I can figure out what it's doing wrong.
------------------------------------------------------------------------
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim