[Libvirt-cim] [PATCH] HRP accepts invalid references

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Jan 2 15:11:50 UTC 2008


Dan Smith wrote:
> KR> Add a get_host_cs() call to pool_to_sys() handler.  The
> KR> get_host_cs() call will verify whether the reference passed in is
> KR> valid.
> 
> Should this be "get_pool_inst()"?
> 
> KR> Failing query:
> KR> wbemcli gi 'http://localhost/root/virt:Xen_MemoryPool.InstanceID="wrong"'
> 
> Is "pool_to_sys()" really being run on a GetInstance call?
> 

Wow - that was a spectacularly poor message on my part.  I guess the end 
of the year holiday got the better of me. =)

Is the patch alright otherwise?  I can resend with an accurate message.

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




More information about the Libvirt-cim mailing list