[Libvirt-cim] [RESEND PATCH 0/3] libvirt-cim: Fix provider registration

John Ferlan jferlan at redhat.com
Mon Nov 18 22:12:41 UTC 2013


> 
> John,
> looking a bit more at this I found that other provider libraries have
> been adjusted to the namespace change. I have put Vitezslav Crhonek on
> cc who provided the changes for the sblim-cmpi libraries.
> Here is an example (see changelog):
> http://s390pkgs.fedoraproject.org/koji/buildinfo?buildID=209208
> 

I took a stab at this considering it didn't seem "too difficult" - the
main differences being

1. Using "root/interop" instead of "root/PG_InterOp" in
provider-register.sh (if the installed cimserver >= 2.12.1)

2. Adjusting libvirt-cim.spec.in similarly with checks for version and
dealing the PG_InterOp (although I'm less convinced it makes much of a
difference other than perhaps cleaning something up).

Anyway, a subsequent run of cimtest was "mostly" successful - I had some
issues with FilterList again.  It seems the code uses "InstanceID" in
order to save the UUID from the filter and in my new environment that
doesn't appear to be defined.  Whether that's a CIM thing or not I'm
still trying to figure out.

So before I go digging too deep and taking too long to figure out what's
up - does it seem plausible that by just changing from PG_InterOp to
interop that we'd have to perhaps adjust the schema? Perhaps create a
'uuid' field?  Could perhaps InstanceID be something we cannot write to?
 (See src/Virt_FilterList.c).

Tks,

John




More information about the Libvirt-cim mailing list