# HG changeset patch
# User Richard Maciel <richardm(a)br.ibm.com>
# Date 1231536014 7200
# Node ID 85adb98a1f73de69432e84faf6ef338d29fbfca7
# Parent 3557859610b4eaf8a2bdcb28d7002121e3e776b1
This patch advertises the Allocation Capabilities Profile and the Resource Allocation
Profile
* Added two new reg_prof instances that represent the added profiles
Signed-off-by: Richard Maciel <richardm(a)br.ibm.com>
diff -r 3557859610b4 -r 85adb98a1f73 src/profiles.h
--- a/src/profiles.h Wed Dec 10 12:42:02 2008 -0800
+++ b/src/profiles.h Fri Jan 09 19:20:14 2009 -0200
@@ -114,6 +114,26 @@
.scoping_profile = &SystemVirtualization
};
+struct reg_prof AllocationCapabilities = {
+ .reg_org = 2,
+ .reg_id = "CIM:DSP1043-AllocationCapabilities-1.0.0a",
+ .reg_name = "Allocation Capabilities",
+ .reg_version = "1.0.0a",
+ .scoping_class = "ComputerSystem",
+ .central_class = "AllocationCapabilities",
+ .scoping_profile = &SystemVirtualization
+};
+
+struct reg_prof ResourceAllocation = {
+ .reg_org = 2,
+ .reg_id = "CIM:DSP1041-ResourceAllocation-1.1.0c",
+ .reg_name = "Resource Allocation",
+ .reg_version = "1.1.0c",
+ .scoping_class = "ComputerSystem",
+ .central_class = "ResourcePool",
+ .scoping_profile = &SystemVirtualization
+};
+
// Make sure to add pointer to your reg_prof struct here.
struct reg_prof *profiles[] = {
&SystemVirtualization,
@@ -124,6 +144,8 @@
&MemoryResourceVirtualization,
&VirtualSystemMigration,
&KVMRedirection,
+ &AllocationCapabilities,
+ &ResourceAllocation,
NULL
};