in the VM summary page.

Signed-off-by: Fabian Ebner <f.eb...@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to