[pve-devel] [PATCH manager 3/6] ui CPUOptions: fix cpu.shares (cpuunits) range and name
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Sep 26 13:56:46 CEST 2017
`These options take an integer value and control the "cpu.shares"
control group attribute. The allowed range is 2 to 262144. Defaults
to 1024.' - man systemd.resource-control
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/qemu/CPUOptions.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/www/manager6/qemu/CPUOptions.js b/www/manager6/qemu/CPUOptions.js
index c1554f34..4ea8c35f 100644
--- a/www/manager6/qemu/CPUOptions.js
+++ b/www/manager6/qemu/CPUOptions.js
@@ -40,9 +40,9 @@ Ext.define('PVE.qemu.CPUOptionsInputPanel', {
{
xtype: 'pveIntegerField',
name: 'cpuunits',
- fieldLabel: gettext('CPU units'),
- minValue: 8,
- maxValue: 500000,
+ fieldLabel: gettext('CPU shares'),
+ minValue: 2,
+ maxValue: 262144,
value: '1024',
allowBlank: true
}
--
2.11.0
More information about the pve-devel
mailing list