[Libvirt-cim] [PATCH 2 of 3] Add check in EAFP to ensure ref passed is an actual instance

Dan Smith danms at us.ibm.com
Fri Dec 21 16:23:57 UTC 2007


KR> We'll need to do the classname checking here because the bug is
KR> that you can pass a Xen_MemoryPool class with "ProcessorPool/0" as
KR> the ID, which isn't valid.

Right.  Maybe cu_compare_ref() be used to do this here?

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20071221/d79da5c7/attachment.sig>


More information about the Libvirt-cim mailing list