[libvirt-users] question regarding CMPIObjectPath

snmishra at linux.vnet.ibm.com snmishra at linux.vnet.ibm.com
Thu Jun 14 19:46:23 UTC 2012


Quoting Ashish Dalela <ashish.dalela at gmail.com>:

> Folks,
>
> I'm a new user and I'm trying to build a standalone application using
> libvirt-cim (rather than use a full-fledged CIMOM). I need some help.

libvirt-cim is a set of providers. You still need a CIMOM.

>
> While calling the CMPIInstanceMI->ft->enumerateInstances, I need to pass a
> reference to CMPIObjectPath. My application is crashing because I don't
> know what is the correct constructor for this. If I do ref = CMPIObjectPath
> () then all the FT pointers are null.

you can get the complete doc at  
https://www2.opengroup.org/ogsys/jsp/publications/PublicationDetails.jsp?catalogno=c051

-Sharad Mishra
IBM
>
> Can someone please guide me on how to construct CMPIObjectPath instance
> before passing to enumerateInstances?
>
> Thanks much
> Ashish






More information about the libvirt-users mailing list