[pve-devel] [PATCH] add qemu agent gui option
Alexandre Derumier
aderumier at odiso.com
Mon Nov 23 14:39:16 CET 2015
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,
--
2.1.4
More information about the pve-devel
mailing list