# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198064142 -3600
# Node ID 98cfb1a1d84a63aca65cd1a04fac1d5e25b87cf9
# Parent b508d48c1a8559ae9eed9278a4f9cfc02bf09a3b
AllocationCapabilities: OpenWbem support
- rename provider from AllocationCapabilitiesProvider to AllocationCapabilities
- update registration file with new providername
- add "Provider" qualifier to mof
Signed-off-by: Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
diff -r b508d48c1a85 -r 98cfb1a1d84a schema/AllocationCapabilities.mof
--- a/schema/AllocationCapabilities.mof Wed Dec 19 12:35:41 2007 +0100
+++ b/schema/AllocationCapabilities.mof Wed Dec 19 12:35:42 2007 +0100
@@ -1,9 +1,11 @@
// Copyright IBM Corp. 2007
+[Provider("cmpi::Virt_AllocationCapabilities")]
class Xen_AllocationCapabilities : CIM_AllocationCapabilities
{
};
+[Provider("cmpi::Virt_AllocationCapabilities")]
class KVM_AllocationCapabilities : CIM_AllocationCapabilities
{
};
diff -r b508d48c1a85 -r 98cfb1a1d84a schema/AllocationCapabilities.registration
--- a/schema/AllocationCapabilities.registration Wed Dec 19 12:35:41 2007 +0100
+++ b/schema/AllocationCapabilities.registration Wed Dec 19 12:35:42 2007 +0100
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2007
# Classname Namespace ProviderName ProviderModule ProviderTypes
-Xen_AllocationCapabilities root/virt Virt_AllocationCapabilitiesProvider
Virt_AllocationCapabilities instance
-KVM_AllocationCapabilities root/virt Virt_AllocationCapabilitiesProvider
Virt_AllocationCapabilities instance
+Xen_AllocationCapabilities root/virt Virt_AllocationCapabilities
Virt_AllocationCapabilities instance
+KVM_AllocationCapabilities root/virt Virt_AllocationCapabilities
Virt_AllocationCapabilities instance
diff -r b508d48c1a85 -r 98cfb1a1d84a src/Virt_AllocationCapabilities.c
--- a/src/Virt_AllocationCapabilities.c Wed Dec 19 12:35:41 2007 +0100
+++ b/src/Virt_AllocationCapabilities.c Wed Dec 19 12:35:42 2007 +0100
@@ -211,7 +211,9 @@ DEFAULT_EQ();
DEFAULT_EQ();
DEFAULT_INST_CLEANUP();
-STD_InstanceMIStub(, Virt_AllocationCapabilitiesProvider, _BROKER,
+STD_InstanceMIStub(,
+ Virt_AllocationCapabilities,
+ _BROKER,
libvirt_cim_init());
/*