# HG changeset patch
# User Heidi Eckhart <heidieck(a)linux.vnet.ibm.com>
# Date 1198182618 -3600
# Node ID 5cb5f3e499759a36e2c978084e0fc80086952364
# Parent def7d71ec42294a074768f38845a0449520a4e41
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 def7d71ec422 -r 5cb5f3e49975 schema/AllocationCapabilities.mof
--- a/schema/AllocationCapabilities.mof Thu Dec 20 21:30:18 2007 +0100
+++ b/schema/AllocationCapabilities.mof Thu Dec 20 21:30:18 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 def7d71ec422 -r 5cb5f3e49975 schema/AllocationCapabilities.registration
--- a/schema/AllocationCapabilities.registration Thu Dec 20 21:30:18 2007 +0100
+++ b/schema/AllocationCapabilities.registration Thu Dec 20 21:30:18 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 def7d71ec422 -r 5cb5f3e49975 src/Virt_AllocationCapabilities.c
--- a/src/Virt_AllocationCapabilities.c Thu Dec 20 21:30:18 2007 +0100
+++ b/src/Virt_AllocationCapabilities.c Thu Dec 20 21:30:18 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());
/*