[libvirt-users] question regarding CMPIObjectPath

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. 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. Can someone please guide me on how to construct CMPIObjectPath instance before passing to enumerateInstances? Thanks much Ashish

Quoting Ashish Dalela <ashish.dalela@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?cat... -Sharad Mishra IBM
Can someone please guide me on how to construct CMPIObjectPath instance before passing to enumerateInstances?
Thanks much Ashish
participants (2)
-
Ashish Dalela
-
snmishra@linux.vnet.ibm.com