[Libvirt-cim] [PATCH 0 of 2] [RFC] Prepare provider registration and provider name for OpenWbem

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Tue Dec 18 17:52:10 UTC 2007


Heidi Eckhart wrote:
> To enable the libvirt-cim providers for registration and work with OpenWbem
> it is necessary to update the mof files with an additional "Provider" qualifier
> and slightly change the provider name.
> 
> patch 1: updated the mof files with the additional "Provider" qualifier. The syntax is "<provider interface>:<module name>". For our providers this means "cmpi:<filename>", e.g. "cmpi:Virt_HostSystem"
> patch 2: the registration for OpenWbem requires an entry point <modulename>_Create_InstanceMI, which means that the filename and the providername have to become the same. This is necessary to let STD_InstanceMIStub correctly create the right CMPI entry points.
> 
> I have tested this setup with sfcb, Pegasus and OpenWbem and it worked for all. If no one encounteres issues with this slighly changed provider naming, I will create patches for all providers. If someone has a hard requirement to name the provider different compared to the file, please raise your hand ;). I look forward an interesting discussion.
> 

I tested this with tog-pegasus-2.6.1-2.fc8 - no problems for me.  I 
don't have any foreseeable objections to the name change either.

I haven't seen the "Provider" qualifier before.  Is this something 
non-standard that OpenWbem requires?  Or is this a standard qualifier 
that Pegasus / sfcb opt not to use?

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




More information about the Libvirt-cim mailing list