[Libvirt-cim] [PATCH] Add AllocationCapabilities support to ECTP

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Thu Feb 19 20:24:34 UTC 2009


# HG changeset patch
# User Kaitlin Rupert <karupert at us.ibm.com>
# Date 1235075052 28800
# Node ID 4d161d191f46bbb0efc386d4b4e3457b623b9d9f
# Parent  e6bfaef960c05131608b55a4e612ca516754ef83
Add AllocationCapabilities support to ECTP.

Also make sure AllocationCapabilities is properly registered to the root/interop
namespace.

Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>

diff -r e6bfaef960c0 -r 4d161d191f46 Makefile.am
--- a/Makefile.am	Tue Feb 17 12:19:07 2009 -0800
+++ b/Makefile.am	Thu Feb 19 12:24:12 2009 -0800
@@ -67,7 +67,8 @@
 	schema/ProcessorPool.mof \
 	schema/VSMigrationService.mof \
 	schema/ElementConformsToProfile.mof \
-	schema/ReferencedProfile.mof
+	schema/ReferencedProfile.mof \
+	schema/AllocationCapabilities.mof
 
 CIMV2_MOFS = \
 	schema/HostedResourcePool.mof \
diff -r e6bfaef960c0 -r 4d161d191f46 base_schema/cimv216-interop_mof
--- a/base_schema/cimv216-interop_mof	Tue Feb 17 12:19:07 2009 -0800
+++ b/base_schema/cimv216-interop_mof	Thu Feb 19 12:24:12 2009 -0800
@@ -22,3 +22,5 @@
 #pragma include ("Core/CIM_Job.mof")
 #pragma include ("Core/CIM_ConcreteJob.mof")
 #pragma include ("Core/CIM_ResourcePool.mof")
+#pragma include ("Core/CIM_Capabilities.mof")
+#pragma include ("Core/CIM_AllocationCapabilities.mof")
diff -r e6bfaef960c0 -r 4d161d191f46 libvirt-cim.spec.in
--- a/libvirt-cim.spec.in	Tue Feb 17 12:19:07 2009 -0800
+++ b/libvirt-cim.spec.in	Thu Feb 19 12:24:12 2009 -0800
@@ -52,7 +52,7 @@
 %define SCHEMA %{_datadir}/%{name}/*.mof
 
 %define INTEROP_REG %{_datadir}/%{name}/{RegisteredProfile,ElementConformsToProfile,ReferencedProfile}.registration
-%define INTEROP_MOF %{_datadir}/%{name}/{ComputerSystem,HostSystem,RegisteredProfile,DiskPool,MemoryPool,NetPool,ProcessorPool,VSMigrationService,ElementConformsToProfile,ReferencedProfile}.mof
+%define INTEROP_MOF %{_datadir}/%{name}/{ComputerSystem,HostSystem,RegisteredProfile,DiskPool,MemoryPool,NetPool,ProcessorPool,VSMigrationService,ElementConformsToProfile,ReferencedProfile,AllocationCapabilities}.mof
 
 %define CIMV2_REG %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,ElementConformsToProfile,HostedAccessPoint}.registration
 %define CIMV2_MOF %{_datadir}/%{name}/{HostedResourcePool,ElementCapabilities,HostedService,HostedDependency,RegisteredProfile,ComputerSystem,ElementConformsToProfile,HostedAccessPoint}.mof
diff -r e6bfaef960c0 -r 4d161d191f46 src/Virt_ElementConformsToProfile.c
--- a/src/Virt_ElementConformsToProfile.c	Tue Feb 17 12:19:07 2009 -0800
+++ b/src/Virt_ElementConformsToProfile.c	Thu Feb 19 12:24:12 2009 -0800
@@ -249,6 +249,7 @@
         "Xen_ProcessorPool",
         "Xen_VirtualSystemMigrationService",
         "Xen_ConsoleRedirectionService",
+        "Xen_AllocationCapabilities",
         "KVM_HostSystem",
         "KVM_ComputerSystem",
         "KVM_DiskPool",
@@ -257,6 +258,7 @@
         "KVM_ProcessorPool",
         "KVM_VirtualSystemMigrationService",
         "KVM_ConsoleRedirectionService",
+        "KVM_AllocationCapabilities",
         "LXC_HostSystem",
         "LXC_ComputerSystem",
         "LXC_DiskPool",
@@ -265,6 +267,7 @@
         "LXC_ProcessorPool",
         "LXC_VirtualSystemMigrationService",
         "LXC_ConsoleRedirectionService",
+        "LXC_AllocationCapabilities",
         "Linux_ComputerSystem",
         NULL
 };




More information about the Libvirt-cim mailing list