<html><body>
<p>The result of ein AllocationCapabilites is correct:<br>
<br>
wbemcli ein <a href="http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities">http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities</a><br>
localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="ProcessorPool/0"<br>
localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="MemoryPool/0"<br>
localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="DiskPool/foo"<br>
localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="NetworkPool/xenbr0"<br>
localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID="NetworkPool/virbr0"<br>
<br>
But failing qurey of gi AllocationCapabilities:<br>
wbemcli gi <a href="http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID=">http://root:password@localhost:5988/root/virt:Xen_AllocationCapabilities.InstanceID=</a>"ProcessorPool/0"<br>
*<br>
* wbemcli: Cim: (1) CIM_ERR_FAILED: A general error occurred that is not covered by a more specific error code: "Could not get ResourceType."<br>
*<br>
<br>
Below is part of Virt_AllocationCapabilities provider's code:<br>
<br>
static CMPIStatus GetInstance(CMPIInstanceMI *self,<br>
                              const CMPIContext *context,<br>
                              const CMPIResult *results,<br>
                              const CMPIObjectPath *reference,<br>
                              const char **properties)<br>
{<br>
        return return_alloc_cap(reference, results, 0);<br>
}<br>
<br>
static CMPIStatus EnumInstanceNames(CMPIInstanceMI *self,<br>
                                    const CMPIContext *context,<br>
                                    const CMPIResult *results,<br>
                                    const CMPIObjectPath *reference)<br>
{<br>
        return alloc_cap_instances(_BROKER, reference, results, true, NULL);<br>
}<br>
<br>
I think the causing issue it the same as Xen_EnabledLogicalElementCapabilities provider.<br>
Thanks!<br>
<br>
Best,<br>
Regards<br>
<br>
Daisy Guo Lian Yun<br>
E-mail: yunguol@cn.ibm.com<br>
IBM China Development Lab, Shanghai, China<br>
TEL: (86)-21-61008057</body></html>