# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198067387 -3600
# Node ID 5cb22a44b7603b5c1890ed35256b9d3760aabab3
# Parent 37e5f1fdb2b2eaf926f48ac0964364e1223bf28b
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 37e5f1fdb2b2 -r 5cb22a44b760 schema/SettingsDefineCapabilities.mof
--- a/schema/SettingsDefineCapabilities.mof Wed Dec 19 13:26:13 2007 +0100
+++ b/schema/SettingsDefineCapabilities.mof Wed Dec 19 13:29:47 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 37e5f1fdb2b2 -r 5cb22a44b760 schema/SettingsDefineCapabilities.registration
--- a/schema/SettingsDefineCapabilities.registration Wed Dec 19 13:26:13 2007 +0100
+++ b/schema/SettingsDefineCapabilities.registration Wed Dec 19 13:29:47 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 37e5f1fdb2b2 -r 5cb22a44b760 src/Virt_SettingsDefineCapabilities.c
--- a/src/Virt_SettingsDefineCapabilities.c Wed Dec 19 13:26:13 2007 +0100
+++ b/src/Virt_SettingsDefineCapabilities.c Wed Dec 19 13:29:47 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: