# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182622 -3600
# Node ID 151f147d3c330d1cf2b6bf8e68e3eb5bc8a12d5c
# Parent 0402e7a5877b079efbb53f255da290d095d6890f
SettingsDefineCapabilities: OpenWbem support
- rename provider from SettingsDefineCapabilitiesProvider to SettingsDefineCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 0402e7a5877b -r 151f147d3c33 schema/SettingsDefineCapabilities.mof
--- a/schema/SettingsDefineCapabilities.mof Thu Dec 20 21:30:22 2007 +0100
+++ b/schema/SettingsDefineCapabilities.mof Thu Dec 20 21:30:22 2007 +0100
@@ -1,11 +1,15 @@
// Copyright IBM Corp. 2007
-[Association]
+[Association,
+ Provider("cmpi::Virt_SettingsDefineCapabilities")
+]
class Xen_SettingsDefineCapabilities : CIM_SettingsDefineCapabilities
{
};
-[Association]
+[Association,
+ Provider("cmpi::Virt_SettingsDefineCapabilities")
+]
class KVM_SettingsDefineCapabilities : CIM_SettingsDefineCapabilities
{
};
diff -r 0402e7a5877b -r 151f147d3c33 schema/SettingsDefineCapabilities.registration
--- a/schema/SettingsDefineCapabilities.registration Thu Dec 20 21:30:22 2007 +0100
+++ b/schema/SettingsDefineCapabilities.registration Thu Dec 20 21:30:22 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_SettingsDefineCapabilities root/virt Virt_SettingsDefineCapabilitiesProvider
Virt_SettingsDefineCapabilities association
-KVM_SettingsDefineCapabilities root/virt Virt_SettingsDefineCapabilitiesProvider
Virt_SettingsDefineCapabilities association
+Xen_SettingsDefineCapabilities root/virt Virt_SettingsDefineCapabilities
Virt_SettingsDefineCapabilities association
+KVM_SettingsDefineCapabilities root/virt Virt_SettingsDefineCapabilities
Virt_SettingsDefineCapabilities association
diff -r 0402e7a5877b -r 151f147d3c33 src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c Thu Dec 20 21:30:22 2007 +0100
+++ b/src/Virt_SettingsDefineCapabilities.c Thu Dec 20 21:30:22 2007 +0100
@@ -883,7 +883,11 @@ struct std_assoc *assoc_handlers[] = {
NULL
};
-STDA_AssocMIStub(, Virt_SettingsDefineCapabilitiesProvider, _BROKER, libvirt_cim_init(),
assoc_handlers);
+STDA_AssocMIStub(,
+ Virt_SettingsDefineCapabilities,
+ _BROKER,
+ libvirt_cim_init(),
+ assoc_handlers);
/*
* Local Variables: