[pve-devel] [PATCH manager v2 3/4] show serial ports on the gui
Dominik Csapak
d.csapak at proxmox.com
Fri Jan 26 11:58:02 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 5930ef30..4b7d7e12 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