[Libvirt-cim] [PATCH 0 of 3] .#2 Memory devices from XML and raw XML

Dan Smith danms at us.ibm.com
Fri Jan 11 16:01:05 UTC 2008


HE> misc_util.c(70): Connecting to libvirt with uri `qemu:///system'
HE> device_parsing.c(818): Unknown domain type -1

Okay, I should start looking at the code before I speak :)

It looks to me like you have a KVM domain with XML that doesn't fit
with my type detection logic, hence the -1 domain type.

Right now, if the <os> block has a type of 'hvm', and the <domain> tag
has a type of 'kvm', then we consider it to be a KVM domain.  However,
I'm assuming you're missing the type in your <os> block, which really
shouldn't be necessary (it's needed to determine between Xen PV and
FV), so maybe removing that check would fix this problem.

I'll submit a patch to do that; please report if it fixes your
problem.

Thanks!

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080111/e2daba31/attachment.sig>


More information about the Libvirt-cim mailing list