
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1195498598 28800 # Node ID 989ee919bdc85b26f9a454b4ed89e3e42211266d # Parent 4304ba0c1cedd5401ae3fb24e4edc1a2291f770f Fix uses of get_typed_*() in VSMS Also short-cut to triggering Xen_Foo indications for now. Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 4304ba0c1ced -r 989ee919bdc8 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Mon Nov 19 10:52:39 2007 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Mon Nov 19 10:56:38 2007 -0800 @@ -358,7 +358,7 @@ static bool trigger_indication(const CMP char *type; CMPIStatus s; - type = get_typed_class(base_type); + type = get_typed_class("Xen", base_type); s = stdi_trigger_indication(_BROKER, context, type, ns); @@ -1059,6 +1059,7 @@ CMPIStatus get_vsms(const CMPIObjectPath goto out; inst = get_typed_instance(broker, + CLASSNAME(reference), "VirtualSystemManagementService", NAMESPACE(reference)); if (inst == NULL) {