[pve-devel] [PATCH manager 3/4] show serial ports on the gui

Dominik Csapak d.csapak at proxmox.com
Wed Jan 3 13:04:14 CET 2018


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/qemu/HardwareView.js | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/www/manager6/qemu/HardwareView.js b/www/manager6/qemu/HardwareView.js
index 9eff840c..9356c6da 100644
--- a/www/manager6/qemu/HardwareView.js
+++ b/www/manager6/qemu/HardwareView.js
@@ -227,6 +227,15 @@ Ext.define('PVE.qemu.HardwareView', {
 		header: gettext('PCI Device') + ' (' + confid + ')'
 	    };
 	}
+	for (i = 0; i < 4; i++) {
+	    confid = "serial" + i.toString();
+	    rows[confid] = {
+		group: 6,
+		tdCls: 'pve-itype-icon-serial',
+		never_delete: caps.nodes['Sys.Console'] ? false : true,
+		header: gettext('Serial Port') + ' (' + confid + ')'
+	    };
+	}
 	for (i = 0; i < 8; i++) {
 	    rows["unused" + i.toString()] = {
 		group: 99,
-- 
2.11.0





More information about the pve-devel mailing list