[Libvirt-cim] [PATCH 0 of 5] #2 EAFP and RAFP support invalid references.

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Dec 21 19:15:25 UTC 2007


Kaitlin Rupert wrote:
> Updates from last set:
>  -"Cleanup device_type_from_poolid() in DevicePool" - reverted the function name back to device_type_from_poolid() instead of device_type_from_str()

This cleanup patch doesn't really fit in with this set. I can send it 
separately if need be.

>  -Added two new patches:
> 	-"GetInstance() in DevicePool returns an instance for invalid refs."
>         -"Roll DevicePool GetInstance() functionality into a seperate function."

I hope adding a new function in this patch doesn't make things too 
messy.  Virt_DevicePool has a lot of helper functions.  Once this bug / 
issue is resolved, I can look into whether any cleanup needs to be done 
here.

>  -Re-worked EAFP and RAFP patches based on the two new patches.
> 
> This fix makes it so that EAFP and RAFP do not return instances if an invalid ref is given.
> 
> These patches are dependant on the "Clean up RAFP and EAFP pool_to_* handlers." patchset.

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




More information about the Libvirt-cim mailing list