[pdm-devel] [PATCH proxmox-datacenter-manager 3/3] lxc: qemu: set new status properties

Stefan Hanreich s.hanreich at proxmox.com
Mon Aug 11 16:18:44 CEST 2025


PVE 9 introduced some additional properties to LxcStatus and
QemuStatus. Default the new properties to None in the UI when showing
a dummy state while loading.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 ui/src/pve/lxc.rs  | 5 +++++
 ui/src/pve/qemu.rs | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/ui/src/pve/lxc.rs b/ui/src/pve/lxc.rs
index c43ac9e..07c8876 100644
--- a/ui/src/pve/lxc.rs
+++ b/ui/src/pve/lxc.rs
@@ -267,6 +267,11 @@ impl yew::Component for LxcanelComp {
                 name: None,
                 netin: None,
                 netout: None,
+                pressurecpusome: None,
+                pressurememoryfull: None,
+                pressurememorysome: None,
+                pressureiosome: None,
+                pressureiofull: None,
                 status: serde_json::from_value(serde_json::Value::String(
                     props.info.status.clone(),
                 ))
diff --git a/ui/src/pve/qemu.rs b/ui/src/pve/qemu.rs
index 57e5e74..48266e5 100644
--- a/ui/src/pve/qemu.rs
+++ b/ui/src/pve/qemu.rs
@@ -267,10 +267,17 @@ impl yew::Component for QemuPanelComp {
                 maxdisk: Some(props.info.maxdisk as i64),
                 maxmem: Some(props.info.maxmem as i64),
                 mem: Some(props.info.mem as i64),
+                memhost: None,
                 name: None,
                 netin: None,
                 netout: None,
                 pid: None,
+                pressurecpusome: None,
+                pressurecpufull: None,
+                pressurememoryfull: None,
+                pressurememorysome: None,
+                pressureiosome: None,
+                pressureiofull: None,
                 qmpstatus: None,
                 running_machine: None,
                 running_qemu: None,
-- 
2.47.2




More information about the pdm-devel mailing list