# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182621 -3600
# Node ID ce05dd1d69bd87665a7016daea808cad2f32588d
# Parent 1c5cfb9f21a045788eac5b090b7a64ab31d79541
ResourcePoolConfigurationCapabilities: OpenWbem support
- rename provider from ResourcePoolConfigurationCapabilitiesProvider to
ResourcePoolConfigurationCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 1c5cfb9f21a0 -r ce05dd1d69bd schema/ResourcePoolConfigurationCapabilities.mof
--- a/schema/ResourcePoolConfigurationCapabilities.mof Thu Dec 20 21:30:21 2007 +0100
+++ b/schema/ResourcePoolConfigurationCapabilities.mof Thu Dec 20 21:30:21 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_ResourcePoolConfigurationCapabilities")]
class Xen_ResourcePoolConfigurationCapabilities :
CIM_ResourcePoolConfigurationCapabilities
{
};
+[Provider("cmpi::Virt_ResourcePoolConfigurationCapabilities")]
class KVM_ResourcePoolConfigurationCapabilities :
CIM_ResourcePoolConfigurationCapabilities
{
};
diff -r 1c5cfb9f21a0 -r ce05dd1d69bd
schema/ResourcePoolConfigurationCapabilities.registration
--- a/schema/ResourcePoolConfigurationCapabilities.registration Thu Dec 20 21:30:21 2007
+0100
+++ b/schema/ResourcePoolConfigurationCapabilities.registration Thu Dec 20 21:30:21 2007
+0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ResourcePoolConfigurationCapabilities root/virt
Virt_ResourcePoolConfigurationCapabilitiesProvider
Virt_ResourcePoolConfigurationCapabilities instance
-KVM_ResourcePoolConfigurationCapabilities root/virt
Virt_ResourcePoolConfigurationCapabilitiesProvider
Virt_ResourcePoolConfigurationCapabilities instance
\ No newline at end of file
+Xen_ResourcePoolConfigurationCapabilities root/virt
Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationCapabilities
instance
+KVM_ResourcePoolConfigurationCapabilities root/virt
Virt_ResourcePoolConfigurationCapabilities Virt_ResourcePoolConfigurationCapabilities
instance
\ No newline at end of file
diff -r 1c5cfb9f21a0 -r ce05dd1d69bd src/Virt_ResourcePoolConfigurationCapabilities.c
--- a/src/Virt_ResourcePoolConfigurationCapabilities.c Thu Dec 20 21:30:21 2007 +0100
+++ b/src/Virt_ResourcePoolConfigurationCapabilities.c Thu Dec 20 21:30:21 2007 +0100
@@ -118,8 +118,10 @@ static CMPIStatus GetInstance(CMPIInstan
}
-STD_InstanceMIStub(, Virt_ResourcePoolConfigurationCapabilitiesProvider,
- _BROKER, libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_ResourcePoolConfigurationCapabilities,
+ _BROKER,
+ libvirt_cim_init());
/*
* Local Variables: