[pve-devel] applied: [PATCH manager 1/1] gui: qemu/HardwareView: show vmstate and allow removal

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Nov 30 18:48:49 CET 2019


On 11/29/19 11:06 AM, Dominik Csapak wrote:
> so that a user can remove the 'suspended' state without resuming it
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/qemu/HardwareView.js | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js
> index 937842f9..e834a3ec 100644
> --- a/www/manager6/qemu/HardwareView.js
> +++ b/www/manager6/qemu/HardwareView.js
> @@ -185,6 +185,11 @@ Ext.define('PVE.qemu.HardwareView', {
>  		never_delete: true,
>  		defaultValue: ''
>  	    },
> +	    vmstate: {
> +		header: gettext('VM State'),
> +		iconCls: 'download',
> +		group: 8,
> +	    },
>  	    cores: {
>  		visible: false
>  	    },
> 

applied, followed up by re-ordering this last, renaming to "Hibernation VM State"
and adding an additional warning hint to the deletion dialogue.
Thanks!




More information about the pve-devel mailing list