[Libvirt-cim] [PATCH] Make HostedResourcePool a little more discerning

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Nov 8 22:02:46 UTC 2007


Dan Smith wrote:
> # HG changeset patch
> # User Dan Smith <danms at us.ibm.com>
> # Date 1194548690 28800
> # Node ID 4c736ba430524c00804b710b923ea0030808a893
> # Parent  bd1b1067d106ecc1546c3b2436a43f59f8eaba15
> Make HostedResourcePool a little more discerning
> Use cu_compare_ref() to make sure the client specified the actual
> HostSystem instance and not a random CIM_System
>   
Patch looks good, but wouldn't you also want to do this check for the 
sys_to_pool side of things as well?  Or, basically, for any of the API 
calls that take a properties argument?

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





More information about the Libvirt-cim mailing list