[Libvirt-cim] [PATCH] Fix SDC - AllocationCapabilities - RASD returns error
Heidi Eckhart
heidieck at linux.vnet.ibm.com
Tue Dec 11 10:22:00 UTC 2007
Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1197322131 28800
> # Node ID 6fdfdb1a22c5f790cfd08538a3e29923ccd2237c
> # Parent 70e9f11ed6d3ea63b342c4c3de68cc948d7c1cfd
> Fix SDC - AllocationCapabilities - RASD returns error.
>
> Querying SDC using an AllocationCapabilities instance returns: "Could not get ResourceType". This is because SDC is expecting the AC ref to have the ResourceType defined. But ResourceType isn't a key, so SDC can be queried without specifying a value for ResourceType.
>
> Instead of using the ResourceType attribute, get the resource type from the InstanceID.
>
> Failing query:
> wbemcli ai -ac Xen_SettingsDefineCapabilities 'http://root:elm3b41@localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="ProcessorPool/0"'
>
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
Great job ! Thank you for investigating into this issue. :)
Works for me. ... +1
--
Regards
Heidi Eckhart
Software Engineer
Linux Technology Center - Open Hypervisor
heidieck at linux.vnet.ibm.com
**************************************************
IBM Deutschland Entwicklung GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschaeftsfuehrung: Herbert Kircher
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
More information about the Libvirt-cim
mailing list