# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182623 -3600
# Node ID c308a657e5a668e4460c1ed3739066d008772b37
# Parent a3524d0d678318b3a8f7bacb1ebca081b33f8976
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 a3524d0d6783 -r c308a657e5a6 schema/VirtualSystemManagementCapabilities.mof
--- a/schema/VirtualSystemManagementCapabilities.mof Thu Dec 20 21:30:23 2007 +0100
+++ b/schema/VirtualSystemManagementCapabilities.mof Thu Dec 20 21:30:23 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 a3524d0d6783 -r c308a657e5a6
schema/VirtualSystemManagementCapabilities.registration
--- a/schema/VirtualSystemManagementCapabilities.registration Thu Dec 20 21:30:23 2007
+0100
+++ b/schema/VirtualSystemManagementCapabilities.registration Thu Dec 20 21:30:23 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 a3524d0d6783 -r c308a657e5a6 src/Virt_VirtualSystemManagementCapabilities.c
--- a/src/Virt_VirtualSystemManagementCapabilities.c Thu Dec 20 21:30:23 2007 +0100
+++ b/src/Virt_VirtualSystemManagementCapabilities.c Thu Dec 20 21:30:23 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: