[pve-devel] [PATCH] add qemu agent gui option

Lindsay Mathieson lindsay.mathieson at gmail.com
Tue Nov 24 02:17:29 CET 2015


Awesome! I was just about to put in a feature request :)

On 23/11/15 23:39, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
> ---
>   www/manager/qemu/Options.js | 17 +++++++++++++++++
>   1 file changed, 17 insertions(+)
>
> diff --git a/www/manager/qemu/Options.js b/www/manager/qemu/Options.js
> index f5d0f80..5d9846f 100644
> --- a/www/manager/qemu/Options.js
> +++ b/www/manager/qemu/Options.js
> @@ -238,6 +238,23 @@ Ext.define('PVE.qemu.Options', {
>   		defaultValue: '',
>   		editor: caps.vms['VM.Config.HWType'] ? 'PVE.qemu.Smbios1Edit' : undefined
>   	    },
> +	    agent: {
> +		header: gettext('Qemu Agent'),
> +		defaultValue: false,
> +		renderer: PVE.Utils.format_boolean,
> +		editor: caps.vms['VM.Config.Options'] ? {
> +		    xtype: 'pveWindowEdit',
> +		    subject: gettext('Qemu Agent'),
> +		    items: {
> +			xtype: 'pvecheckbox',
> +			name: 'agent',
> +			uncheckedValue: 0,
> +			defaultValue: 0,
> +			deleteDefaultValue: true,
> +			fieldLabel: gettext('Enabled')
> +		    }
> +		} : undefined
> +	    },
>   	    protection: {
>   		header: gettext('VM protection'),
>   		defaultValue: false,




More information about the pve-devel mailing list