oem-ibm: BIOS attribute support for LINUX KVM
This commit adds new BIOS attributes to support Linux KVM. The BIOS attributes added define the system memory usage for KVM guests.
Tested By : Basic IPL testing and checked the default option on GUI.
Change-Id: I9d71977c5bcbb7e349a2518596f9ec380a11b576
Signed-off-by: vkaverap@in.ibm.com <vkaverap@in.ibm.com>
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
index 18a80f4..aa51c08 100644
--- a/oem/ibm/configurations/bios/integer_attrs.json
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -285,6 +285,25 @@
"default_value": 0,
"helpText": "Specifies the port that is used for the iSCSI connection.",
"displayName": "Target Port"
+ },
+ {
+ "attribute_name": "pvm_linux_kvm_percentage",
+ "lower_bound": 0,
+ "upper_bound": 1000,
+ "scalar_increment": 1,
+ "default_value": 0,
+ "helpText": "Specifies the percentage of available system memory that will be reserved for the management of KVM guests. The percentage is specified to the 10th of a percent.",
+ "displayName": "System Memory Reserved for KVM Guest Management"
+ },
+ {
+ "attribute_name": "pvm_linux_kvm_percentage_current",
+ "lower_bound": 0,
+ "upper_bound": 1000,
+ "scalar_increment": 1,
+ "default_value": 0,
+ "readOnly": true,
+ "helpText": "Specifies the percentage of available system memory that will be reserved for the management of KVM guests. Do not set this attribute directly; set pvm_linux_kvm_percentage instead.",
+ "displayName": "System Memory Reserved for KVM Guest Management (current)"
}
]
}