[Libvirt-cim] [PATCH 21 of 29] SettingsDefineState: OpenWbem support

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Dec 19 12:20:12 UTC 2007


# HG changeset patch
# User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
# Date 1198067492 -3600
# Node ID 57e751879fd4d235827c9b5a19fc816333c91585
# Parent  5cb22a44b7603b5c1890ed35256b9d3760aabab3
SettingsDefineState: OpenWbem support

- rename provider from SettingsDefineStateProvider to SettingsDefineState
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck at linux.vnet.ibm.com>

diff -r 5cb22a44b760 -r 57e751879fd4 schema/SettingsDefineState.mof
--- a/schema/SettingsDefineState.mof	Wed Dec 19 13:29:47 2007 +0100
+++ b/schema/SettingsDefineState.mof	Wed Dec 19 13:31:32 2007 +0100
@@ -1,11 +1,15 @@
 // Copyright IBM Corp. 2007
 
-[Association]
+[Association,
+ Provider("cmpi::Virt_SettingsDefineState")
+]
 class Xen_SettingsDefineState : CIM_SettingsDefineState
 {
 };
 
-[Association]
+[Association,
+ Provider("cmpi::Virt_SettingsDefineState")
+]
 class KVM_SettingsDefineState : CIM_SettingsDefineState
 {
 };
\ No newline at end of file
diff -r 5cb22a44b760 -r 57e751879fd4 schema/SettingsDefineState.registration
--- a/schema/SettingsDefineState.registration	Wed Dec 19 13:29:47 2007 +0100
+++ b/schema/SettingsDefineState.registration	Wed Dec 19 13:31:32 2007 +0100
@@ -1,4 +1,4 @@
 # Copyright IBM Corp. 2007
 # Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_SettingsDefineState root/virt Virt_SettingsDefineStateProvider Virt_SettingsDefineState association
-KVM_SettingsDefineState root/virt Virt_SettingsDefineStateProvider Virt_SettingsDefineState association
+Xen_SettingsDefineState root/virt Virt_SettingsDefineState Virt_SettingsDefineState association
+KVM_SettingsDefineState root/virt Virt_SettingsDefineState Virt_SettingsDefineState association
diff -r 5cb22a44b760 -r 57e751879fd4 src/Virt_SettingsDefineState.c
--- a/src/Virt_SettingsDefineState.c	Wed Dec 19 13:29:47 2007 +0100
+++ b/src/Virt_SettingsDefineState.c	Wed Dec 19 13:31:32 2007 +0100
@@ -392,7 +392,11 @@ static struct std_assoc *handlers[] = {
         NULL
 };
 
-STDA_AssocMIStub(, Virt_SettingsDefineStateProvider, _BROKER, libvirt_cim_init(), handlers);
+STDA_AssocMIStub(,
+                 Virt_SettingsDefineState,
+                 _BROKER,
+                 libvirt_cim_init(),
+                 handlers);
 
 /*
  * Local Variables:




More information about the Libvirt-cim mailing list