# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182625 -3600
# Node ID 74d7f2fc36f03944c8ca54b86952dcd0e744e4ad
# Parent 339737297fb7cc37d00eaaffbdd9ed71e499f000
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 339737297fb7 -r 74d7f2fc36f0 schema/VSSDComponent.mof
--- a/schema/VSSDComponent.mof Thu Dec 20 21:30:25 2007 +0100
+++ b/schema/VSSDComponent.mof Thu Dec 20 21:30:25 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 339737297fb7 -r 74d7f2fc36f0 schema/VSSDComponent.registration
--- a/schema/VSSDComponent.registration Thu Dec 20 21:30:25 2007 +0100
+++ b/schema/VSSDComponent.registration Thu Dec 20 21:30:25 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 339737297fb7 -r 74d7f2fc36f0 src/Virt_VSSDComponent.c
--- a/src/Virt_VSSDComponent.c Thu Dec 20 21:30:25 2007 +0100
+++ b/src/Virt_VSSDComponent.c Thu Dec 20 21:30:25 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: