[Libvirt-cim] [PATCH 0 of 5] Fix up associations to SBLIM host system

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Nov 3 22:55:53 UTC 2008


Dan Smith wrote:
> This patch set attempts to patch up our associations for the case where the
> SBLIM providers are installed and we use them for our HostSystem class.  Since
> that class exists in root/cimv2, we have to register our associations there
> as well, and make sure they provide paths back to the rest of our providers.
> 
> The convert_sblim_hostsystem() function that I use to do this is a bit of a
> hack, given that it requires knowledge of how the reference we're passing to
> all of our factory functions is used.  However, I think it's definitely the
> easiest thing to do right now.
> 
> Comments are welcome as usual :)

I think this is a reasonable enough away to handle the cross-namespace 
issue.  We make the same kind of assumptions about the reference 
elsewhere in the code.  So if this ever changes in the future, this will 
just be one of many changes that'll need to be made changed.

Is there any need to update ECTP as well?

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list