[Libvirt-cim] [PATCH 0 of 3] #3 - Check client given object pathes in ElementCapabilities provider

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Jan 15 16:47:33 UTC 2008


Heidi Eckhart wrote:
> To enable the check for the client's given object path in ElementCapabilities, changes to the ComputerSystem and AllocationCapabilities provider have been necessary.
> 
> Diff to patch #1:
> - added a new function to libcmpiutil - cu_validate_ref(ref, inst) - that does the check between the system instance and the client given instance
> - get_domain() is now using the new libcmpiutil function
> - the parameter CMPIInstance **inst is now used to "configure" get_domain(); for internal usage the inst is returned and for external usage this can be ignored by setting it to NULL
> - validate_domain_ref() is now only an interface name for the client
> 
> - removed patch unrelated changes in patch 2
> - reworked logic to return instance(s)
> 
> Diff to patch set #2:
> - removed validate_domain_ref() and made get_domain() external
> - fixed coding style in AllocationCapabilities
> - fixed inst_list to catch the returned instances
> - adopted changes to patch 1 and 2 to patch 3
> - check for NULL connection in EC now

No complaints on this set.

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




More information about the Libvirt-cim mailing list