# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198067173 -3600
# Node ID 37e5f1fdb2b2eaf926f48ac0964364e1223bf28b
# Parent 1fd44b737c16ab07487ba08f77f3bbebd30262c3
ResourcePoolConfigurationService: OpenWbem support
- rename provider from ResourcePoolConfigurationServiceProvider to
ResourcePoolConfigurationService
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r 1fd44b737c16 -r 37e5f1fdb2b2 schema/ResourcePoolConfigurationService.mof
--- a/schema/ResourcePoolConfigurationService.mof Wed Dec 19 13:24:03 2007 +0100
+++ b/schema/ResourcePoolConfigurationService.mof Wed Dec 19 13:26:13 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_ResourcePoolConfigurationService")]
class Xen_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService
{
};
+[Provider("cmpi::Virt_ResourcePoolConfigurationService")]
class KVM_ResourcePoolConfigurationService : CIM_ResourcePoolConfigurationService
{
};
diff -r 1fd44b737c16 -r 37e5f1fdb2b2 schema/ResourcePoolConfigurationService.registration
--- a/schema/ResourcePoolConfigurationService.registration Wed Dec 19 13:24:03 2007 +0100
+++ b/schema/ResourcePoolConfigurationService.registration Wed Dec 19 13:26:13 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_ResourcePoolConfigurationService root/virt
Virt_ResourcePoolConfigurationServiceProvider Virt_ResourcePoolConfigurationService
instance method
-KVM_ResourcePoolConfigurationService root/virt
Virt_ResourcePoolConfigurationServiceProvider Virt_ResourcePoolConfigurationService
instance method
\ No newline at end of file
+Xen_ResourcePoolConfigurationService root/virt Virt_ResourcePoolConfigurationService
Virt_ResourcePoolConfigurationService instance method
+KVM_ResourcePoolConfigurationService root/virt Virt_ResourcePoolConfigurationService
Virt_ResourcePoolConfigurationService instance method
\ No newline at end of file
diff -r 1fd44b737c16 -r 37e5f1fdb2b2 src/Virt_ResourcePoolConfigurationService.c
--- a/src/Virt_ResourcePoolConfigurationService.c Wed Dec 19 13:24:03 2007 +0100
+++ b/src/Virt_ResourcePoolConfigurationService.c Wed Dec 19 13:26:13 2007 +0100
@@ -205,8 +205,10 @@ static CMPIStatus EnumInstances(CMPIInst
}
-STD_InstanceMIStub(, Virt_ResourcePoolConfigurationServiceProvider,
- _BROKER, libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_ResourcePoolConfigurationService,
+ _BROKER,
+ libvirt_cim_init());
/*