# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182620 -3600
# Node ID 740a16ad1a14660da0aa1668ae2ef36f0ab2400a
# Parent 1ca174e0f16ec42e34ba605c5108d0e484072265
EnabledLogicalElementCapabilities: OpenWbem support
- rename provider from EnabledLogicalElementCapabilitiesProvider to
EnabledLogicalElementCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 1ca174e0f16e -r 740a16ad1a14 schema/EnabledLogicalElementCapabilities.mof
--- a/schema/EnabledLogicalElementCapabilities.mof Thu Dec 20 21:30:20 2007 +0100
+++ b/schema/EnabledLogicalElementCapabilities.mof Thu Dec 20 21:30:20 2007 +0100
@@ -2,7 +2,8 @@
[Description (
"A class derived from CIM_Capabilities to represent "
- "the changes that can be made to a started Xen virtual system")
+ "the changes that can be made to a started Xen virtual system"),
+ Provider("cmpi::Virt_EnabledLogicalElementCapabilities")
]
class Xen_EnabledLogicalElementCapabilities : CIM_EnabledLogicalElementCapabilities
{
@@ -10,7 +11,8 @@ class Xen_EnabledLogicalElementCapabilit
[Description (
"A class derived from CIM_Capabilities to represent "
- "the changes that can be made to a started KVM virtual system")
+ "the changes that can be made to a started KVM virtual system"),
+ Provider("cmpi::Virt_EnabledLogicalElementCapabilities")
]
class KVM_EnabledLogicalElementCapabilities : CIM_EnabledLogicalElementCapabilities
{
diff -r 1ca174e0f16e -r 740a16ad1a14
schema/EnabledLogicalElementCapabilities.registration
--- a/schema/EnabledLogicalElementCapabilities.registration Thu Dec 20 21:30:20 2007
+0100
+++ b/schema/EnabledLogicalElementCapabilities.registration Thu Dec 20 21:30:20 2007
+0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_EnabledLogicalElementCapabilities root/virt
Virt_EnabledLogicalElementCapabilitiesProvider Virt_EnabledLogicalElementCapabilities
instance
-KVM_EnabledLogicalElementCapabilities root/virt
Virt_EnabledLogicalElementCapabilitiesProvider Virt_EnabledLogicalElementCapabilities
instance
+Xen_EnabledLogicalElementCapabilities root/virt Virt_EnabledLogicalElementCapabilities
Virt_EnabledLogicalElementCapabilities instance
+KVM_EnabledLogicalElementCapabilities root/virt Virt_EnabledLogicalElementCapabilities
Virt_EnabledLogicalElementCapabilities instance
diff -r 1ca174e0f16e -r 740a16ad1a14 src/Virt_EnabledLogicalElementCapabilities.c
--- a/src/Virt_EnabledLogicalElementCapabilities.c Thu Dec 20 21:30:20 2007 +0100
+++ b/src/Virt_EnabledLogicalElementCapabilities.c Thu Dec 20 21:30:20 2007 +0100
@@ -234,8 +234,10 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_EnabledLogicalElementCapabilitiesProvider, _BROKER,
- libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_EnabledLogicalElementCapabilities,
+ _BROKER,
+ libvirt_cim_init());
/*
* Local Variables: