# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1214856741 25200
# Node ID f72441bf10fdd467d3f47d33e4bfb29537cc53e1
# Parent 834563d8520b1876d99bf579cc3319b1dfa09795
Remove explicit "Xen" from VSMS indication trigger
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 834563d8520b -r f72441bf10fd src/Virt_VirtualSystemManagementService.c
--- a/src/Virt_VirtualSystemManagementService.c Mon Jun 30 12:02:43 2008 -0700
+++ b/src/Virt_VirtualSystemManagementService.c Mon Jun 30 13:12:21 2008 -0700
@@ -774,14 +774,14 @@
static bool trigger_indication(const CMPIContext *context,
const char *base_type,
- const char *ns)
+ const CMPIObjectPath *ref)
{
char *type;
CMPIStatus s;
- type = get_typed_class("Xen", base_type);
+ type = get_typed_class(CLASSNAME(ref), base_type);
- s = stdi_trigger_indication(_BROKER, context, type, ns);
+ s = stdi_trigger_indication(_BROKER, context, type, NAMESPACE(ref));
free(type);
@@ -814,7 +814,7 @@
trigger_indication(context,
"ComputerSystemCreatedIndication",
- NAMESPACE(reference));
+ reference);
out:
return s;
}
@@ -862,7 +862,7 @@
rc = IM_RC_OK;
trigger_indication(context,
"ComputerSystemDeletedIndication",
- NAMESPACE(reference));
+ reference);
}
error:
@@ -936,7 +936,7 @@
if (s.rc == CMPI_RC_OK) {
trigger_indication(context,
"ComputerSystemModifiedIndication",
- NAMESPACE(ref));
+ ref);
}
out:
Show replies by date
Dan Smith wrote:
# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1214856741 25200
# Node ID f72441bf10fdd467d3f47d33e4bfb29537cc53e1
# Parent 834563d8520b1876d99bf579cc3319b1dfa09795
Remove explicit "Xen" from VSMS indication trigger
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r 834563d8520b -r f72441bf10fd src/Virt_VirtualSystemManagementService.c
+1
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin(a)linux.vnet.ibm.com