[pve-devel] applied: [PATCH manager] fix #2132: gui: set vcpu default maxValue to 1

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Mar 15 14:02:54 CET 2019


On 3/15/19 10:59 AM, Dominik Csapak wrote:
> else one can set it to higher values if the vm has one socket with one core
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/qemu/ProcessorEdit.js | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/www/manager6/qemu/ProcessorEdit.js b/www/manager6/qemu/ProcessorEdit.js
> index 3ecea205..4c0524eb 100644
> --- a/www/manager6/qemu/ProcessorEdit.js
> +++ b/www/manager6/qemu/ProcessorEdit.js
> @@ -124,6 +124,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
>  	    xtype: 'proxmoxintegerfield',
>  	    name: 'vcpus',
>  	    minValue: 1,
> +	    maxValue: 1,
>  	    value: '',
>  	    fieldLabel: gettext('VCPUs'),
>  	    deleteEmpty: true,
> 

applied, thanks!




More information about the pve-devel mailing list