[pve-devel] [PATCH manager 3/3] fix #3301: ui: show currently running QEMU version

Fabian Ebner f.ebner at proxmox.com
Mon Mar 1 16:53:27 CET 2021


in the VM summary page.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

I felt like the running machine is less interesting to users, so I only
added the QEMU version. And I added it directly to the status as it doesn't
seem to fit badly.

Of course I can change it to be its own line and also add a line for the machine
if that's preferred.

 www/manager6/panel/GuestStatusView.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/manager6/panel/GuestStatusView.js b/www/manager6/panel/GuestStatusView.js
index 8dab4c19..84a854c3 100644
--- a/www/manager6/panel/GuestStatusView.js
+++ b/www/manager6/panel/GuestStatusView.js
@@ -40,6 +40,10 @@ Ext.define('PVE.panel.GuestStatusView', {
 		if (qmpstatus && qmpstatus !== record.data.status) {
 		    text += ' (' + qmpstatus + ')';
 		}
+		let qemuversion = record.data["running-qemu"];
+		if (qemuversion) {
+		    text += ' (Qemu: ' + qemuversion + ')';
+		}
 		return text;
 	    },
 	},
-- 
2.20.1






More information about the pve-devel mailing list