
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@us.ibm.com