
# HG changeset patch # User Kaitlin Rupert <karupert@us.ibm.com> # Date 1216418936 25200 # Node ID abbc6e3b451614f7bd2965f95d70b6695ad25968 # Parent ec88dc805bcdc63d30b866e3e527208fa684e274 Add CMSetObjectPath macro. This is a work around. SFCB currently doesn't implement CMSetObjectPath, so the VSMS provider seg faults. Signed-off-by: Kaitlin Rupert <karupert@us.ibm.com> diff -r ec88dc805bcd -r abbc6e3b4516 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Wed Jul 09 13:48:14 2008 -0700 +++ b/src/Virt_VirtualSystemManagementService.c Fri Jul 18 15:08:56 2008 -0700 @@ -58,6 +58,12 @@ #define DEFAULT_XEN_WEIGHT 1024 const static CMPIBroker *_BROKER; + +#undef CMSetObjectPath +#define CMSetObjectPath(i,p) do { \ + if (i->ft->setObjectPath != NULL) \ + i->ft->setObjectPath(i, p); \ + } while (0); enum ResourceAction { RESOURCE_ADD,