[pve-devel] applied: [PATCH pve-manager v3] Remove swap/memory limit in the Manager, fixes #1799

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 7 13:47:57 CEST 2018


On 6/7/18 1:42 PM, René Jochum wrote:
> ---

applied, but please add a short change log here the next time.
This won't get included in the commit message if it's below the
-- and it helps to see what/why changed, thanks!

>  www/manager6/lxc/ResourceEdit.js | 2 --
>  www/manager6/qemu/MemoryEdit.js  | 2 --
>  2 files changed, 4 deletions(-)
> 
> diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
> index ec697cac..395fab7e 100644
> --- a/www/manager6/lxc/ResourceEdit.js
> +++ b/www/manager6/lxc/ResourceEdit.js
> @@ -118,7 +118,6 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
>  		xtype: 'proxmoxintegerfield',
>  		name: 'memory',
>  		minValue: 16,
> -		maxValue: 512*1024,
>  		value: '512',
>  		step: 32,
>  		fieldLabel: gettext('Memory') + ' (MiB)',
> @@ -129,7 +128,6 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
>  		xtype: 'proxmoxintegerfield',
>  		name: 'swap',
>  		minValue: 0,
> -		maxValue: 128*1024,
>  		value: '512',
>  		step: 32,
>  		fieldLabel: gettext('Swap') + ' (MiB)',
> diff --git a/www/manager6/qemu/MemoryEdit.js b/www/manager6/qemu/MemoryEdit.js
> index 384351b0..4c4d1815 100644
> --- a/www/manager6/qemu/MemoryEdit.js
> +++ b/www/manager6/qemu/MemoryEdit.js
> @@ -39,7 +39,6 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
>  		fieldLabel: gettext('Memory') + ' (MiB)',
>  		name: 'memory',
>  		minValue: 1,
> -		maxValue: 512*1024,
>  		step: 32,
>  		hotplug: me.hotplug,
>  		listeners: {
> @@ -61,7 +60,6 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
>  		xtype: 'pveMemoryField',
>  		name: 'balloon',
>  		minValue: 1,
> -		maxValue: 512*1024,
>  		step: 32,
>  		fieldLabel: gettext('Minimum memory') + ' (MiB)',
>  		hotplug: me.hotplug,
> 






More information about the pve-devel mailing list