# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198069814 -3600
# Node ID 2d83ae41f68fc5ad4bbf4aa51a68255422fbf2dd
# Parent a2411bdc20ffbea13758137f67321b1ad185a3ee
VirtualSystemManagementCapabilities: OpenWbem support
- rename provider from VirtualSystemManagementCapabilitiesProvider to
VirtualSystemManagementCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r a2411bdc20ff -r 2d83ae41f68f schema/VirtualSystemManagementCapabilities.mof
--- a/schema/VirtualSystemManagementCapabilities.mof Wed Dec 19 14:10:11 2007 +0100
+++ b/schema/VirtualSystemManagementCapabilities.mof Wed Dec 19 14:10:14 2007 +0100
@@ -2,7 +2,8 @@
[Description (
"A class derived from CIM_Capabilities to represent "
- "the management capabilities of a Xen virtual system")
+ "the management capabilities of a Xen virtual system"),
+ Provider("cmpi::Virt_VirtualSystemManagementCapabilities")
]
class Xen_VirtualSystemManagementCapabilities : CIM_VirtualSystemManagementCapabilities
{
@@ -10,7 +11,8 @@ class Xen_VirtualSystemManagementCapabil
[Description (
"A class derived from CIM_Capabilities to represent "
- "the management capabilities of a KVM virtual system.")
+ "the management capabilities of a KVM virtual system."),
+ Provider("cmpi::Virt_VirtualSystemManagementCapabilities")
]
class KVM_VirtualSystemManagementCapabilities : CIM_VirtualSystemManagementCapabilities
{
diff -r a2411bdc20ff -r 2d83ae41f68f
schema/VirtualSystemManagementCapabilities.registration
--- a/schema/VirtualSystemManagementCapabilities.registration Wed Dec 19 14:10:11 2007
+0100
+++ b/schema/VirtualSystemManagementCapabilities.registration Wed Dec 19 14:10:14 2007
+0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_VirtualSystemManagementCapabilities root/virt
Virt_VirtualSystemManagementCapabilitiesProvider Virt_VirtualSystemManagementCapabilities
instance
-KVM_VirtualSystemManagementCapabilities root/virt
Virt_VirtualSystemManagementCapabilitiesProvider Virt_VirtualSystemManagementCapabilities
instance
+Xen_VirtualSystemManagementCapabilities root/virt
Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementCapabilities
instance
+KVM_VirtualSystemManagementCapabilities root/virt
Virt_VirtualSystemManagementCapabilities Virt_VirtualSystemManagementCapabilities
instance
diff -r a2411bdc20ff -r 2d83ae41f68f src/Virt_VirtualSystemManagementCapabilities.c
--- a/src/Virt_VirtualSystemManagementCapabilities.c Wed Dec 19 14:10:11 2007 +0100
+++ b/src/Virt_VirtualSystemManagementCapabilities.c Wed Dec 19 14:10:14 2007 +0100
@@ -181,8 +181,10 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_VirtualSystemManagementCapabilitiesProvider, _BROKER,
- libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_VirtualSystemManagementCapabilities,
+ _BROKER,
+ libvirt_cim_init());
/*
* Local Variables: