[Libvirt-cim] [PATCH 0 of 3] #2 Fix VSMC enumeration failure.

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Nov 29 21:42:28 UTC 2007


wbemcli ein http://root:elm3b41@localhost/root/virt:Xen_VirtualSystemManagementCapabilities

This currently returns: "Missing key: Name".  This is because get_vsm_cap() is expecting a Name attribute in the ref, which doesn't exist on an enumeration query.

This patch set fixes the enum issue in VSMC.  Part of this fix is to add a new parameter to get_vsm_cap().  One of the handlers in ElementCapabilities calls get_vsm_cap(), so that function call has been updated as well.

Updates:  Instead of using gethostname() call, get the instance of the host system and use it's value for the Name attribute.




More information about the Libvirt-cim mailing list