[Libvirt-cim] HostedResourcePool association provider return expected result with wrong key name or value

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Dec 28 22:23:56 UTC 2007


Guo Lian Yun wrote:
> Hi,
> 
> I encounter a problem of HostedResourcePool association provider, which 
> can still return expected result with wrong key value, even wrong key name.
> 
> wbemcli ain -ac Xen_HostedResourcePool 
> http://root:password@localhost/root/virt:Xen_MemoryPool.InstanceID="wrong"
> localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
> 
> wbemcli ain -ac Xen_HostedResourcePool 
> http://root:password@localhost/root/virt:Xen_MemoryPool.wrong="wrong"
> localhost:5988/root/virt:Xen_HostSystem.CreationClassName="Xen_HostSystem",Name="zeit"
> 
> That is mean, with a non existing instance, e.g. a wrong InstanceID name 
> or value as above, it can return results also.
> Please can you have a look into this? Thanks!
> 

Hi Daisy - this looks like a bug. I've just submitted a patch that 
should fix the problem.

-- 
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com




More information about the Libvirt-cim mailing list