[Libvirt-cim] [PATCH] Add PoolID into DevicePool instances

Dan Smith danms at us.ibm.com
Wed May 7 18:27:59 UTC 2008


KR> Since we had to set the InstanceID, PoolID, and ResourceType for
KR> all 4 devices, should we farm that out to a different function?

That was my initial thought, however the code is structured in such a
way that each of those handler functions can return more than one pool
if needed.  As such, we could loop through the list at the end and
copy the InstanceID to the PoolID.  However, as I explain it now, I
can't come up with a reasonable justification to not to that :)

-- 
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/20080507/1b2e2a9c/attachment.sig>


More information about the Libvirt-cim mailing list