fix bug #174: add cpuunits to KVM options

This commit is contained in:
Dietmar Maurer 2012-04-24 09:30:02 +02:00
parent ccb7d4baa4
commit da344f4087
2 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,8 @@ pve-manager (2.0-64) unstable; urgency=low
warning icon for such actions
* fix bug #177: allow memory up to 512GB
* fix bug #174: add cpuunits to KVM options
-- Proxmox Support Team <support@proxmox.com> Tue, 24 Apr 2012 08:09:23 +0200

View File

@ -139,6 +139,23 @@ Ext.define('PVE.qemu.Options', {
}
} : undefined
},
cpuunits: {
header: 'CPU units',
defaultValue: '1000',
editor: caps.vms['VM.Config.CPU'] ? {
xtype: 'pveWindowEdit',
subject: 'CPU units',
items: {
xtype: 'numberfield',
name: 'cpuunits',
fieldLabel: 'CPU units',
minValue: 8,
maxValue: 500000,
defaultValue: 1000,
allowBlank: false
}
} : undefined
},
freeze: {
header: 'Freeze CPU at startup',
defaultValue: false,