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

Dan Smith danms at us.ibm.com
Fri Nov 9 00:24:12 UTC 2007


KR> Oops, yes.  I meant the pool_to_sys() side. =)

Well, that is less of a problem I'd say.  We don't really have the
same issue of checking for a superclass where a subset of the children
would be invalid parameters to the association, right?  That's the
root of the problem with the other direction.

We could certainly look up an instance of the pool they're asking
about and check their reference.  I'm not sure it really matters as
much as something like a GetInstance though, because the answer is
always the same, no matter what pool they ask about.  If someone
deleted a pool between when they got a reference and when they asked
about the host system for that pool, then we'd fail the association
even though we already knew the answer and the answer is valid.

Depends on your interpretation of CIM principles I suppose :)

KR> Is there a defined CIM way for handling properties?  I mostly
KR> asked because I don't know much about them.

I'm not sure what the policy is for property filtering and if keys
can't be filtered.  Something to revisit when we actually implement
support for such, I'd say :)

-- 
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/20071108/3031de10/attachment.sig>


More information about the Libvirt-cim mailing list