# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198069817 -3600
# Node ID 204010b3fe863e9ceee38fb0761d70bb96e761c4
# Parent b4f86d7e6d2120ce516efde2b2750d85c2c8b5c3
VirtualSystemSettingDataComponent: OpenWbem support
- rename provider from VSSDComponentProvider to VSSDComponent
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r b4f86d7e6d21 -r 204010b3fe86 schema/VSSDComponent.mof
--- a/schema/VSSDComponent.mof Wed Dec 19 14:10:16 2007 +0100
+++ b/schema/VSSDComponent.mof Wed Dec 19 14:10:17 2007 +0100
@@ -1,11 +1,15 @@
// Copyright IBM Corp. 2007
-[Association]
+[Association,
+ Provider("cmpi::Virt_VSSDComponent")
+]
class Xen_VirtualSystemSettingDataComponent : CIM_Component
{
};
-[Association]
+[Association,
+ Provider("cmpi::Virt_VSSDComponent")
+]
class KVM_VirtualSystemSettingDataComponent : CIM_Component
{
};
diff -r b4f86d7e6d21 -r 204010b3fe86 schema/VSSDComponent.registration
--- a/schema/VSSDComponent.registration Wed Dec 19 14:10:16 2007 +0100
+++ b/schema/VSSDComponent.registration Wed Dec 19 14:10:17 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_VirtualSystemSettingDataComponent root/virt Virt_VSSDComponentProvider
Virt_VSSDComponent association
-KVM_VirtualSystemSettingDataComponent root/virt Virt_VSSDComponentProvider
Virt_VSSDComponent association
+Xen_VirtualSystemSettingDataComponent root/virt Virt_VSSDComponent Virt_VSSDComponent
association
+KVM_VirtualSystemSettingDataComponent root/virt Virt_VSSDComponent Virt_VSSDComponent
association
diff -r b4f86d7e6d21 -r 204010b3fe86 src/Virt_VSSDComponent.c
--- a/src/Virt_VSSDComponent.c Wed Dec 19 14:10:16 2007 +0100
+++ b/src/Virt_VSSDComponent.c Wed Dec 19 14:10:17 2007 +0100
@@ -210,7 +210,11 @@ static struct std_assoc *handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_VSSDComponentProvider, _BROKER, libvirt_cim_init(), handlers);
+STDA_AssocMIStub(,
+ Virt_VSSDComponent,
+ _BROKER,
+ libvirt_cim_init(),
+ handlers);
/*
* Local Variables: