# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182622 -3600
# Node ID 0402e7a5877b079efbb53f255da290d095d6890f
# Parent ce05dd1d69bd87665a7016daea808cad2f32588d
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 ce05dd1d69bd -r 0402e7a5877b schema/ResourcePoolConfigurationService.mof
--- a/schema/ResourcePoolConfigurationService.mof Thu Dec 20 21:30:21 2007 +0100
+++ b/schema/ResourcePoolConfigurationService.mof Thu Dec 20 21:30:22 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 ce05dd1d69bd -r 0402e7a5877b schema/ResourcePoolConfigurationService.registration
--- a/schema/ResourcePoolConfigurationService.registration Thu Dec 20 21:30:21 2007 +0100
+++ b/schema/ResourcePoolConfigurationService.registration Thu Dec 20 21:30:22 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 ce05dd1d69bd -r 0402e7a5877b src/Virt_ResourcePoolConfigurationService.c
--- a/src/Virt_ResourcePoolConfigurationService.c Thu Dec 20 21:30:21 2007 +0100
+++ b/src/Virt_ResourcePoolConfigurationService.c Thu Dec 20 21:30:22 2007 +0100
@@ -82,8 +82,11 @@ static struct method_handler *my_handler
NULL,
};
-STDIM_MethodMIStub(, Virt_ResourcePoolConfigurationServiceProvider,
- _BROKER, libvirt_cim_init(), my_handlers);
+STDIM_MethodMIStub(,
+ Virt_ResourcePoolConfigurationService,
+ _BROKER,
+ libvirt_cim_init(),
+ my_handlers);
DEFAULT_CI();
DEFAULT_MI();
@@ -205,8 +208,10 @@ static CMPIStatus EnumInstances(CMPIInst
}
-STD_InstanceMIStub(, Virt_ResourcePoolConfigurationServiceProvider,
- _BROKER, libvirt_cim_init());
+STD_InstanceMIStub(,
+ Virt_ResourcePoolConfigurationService,
+ _BROKER,
+ libvirt_cim_init());
/*