public inbox for pdm-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox-datacenter-manager 3/3] lxc: qemu: set new status properties
Date: Mon, 11 Aug 2025 16:18:44 +0200	[thread overview]
Message-ID: <20250811141847.271476-4-s.hanreich@proxmox.com> (raw)
In-Reply-To: <20250811141847.271476-1-s.hanreich@proxmox.com>

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@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


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


  parent reply	other threads:[~2025-08-11 14:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-11 14:18 [pdm-devel] [PATCH proxmox-datacenter-manager 0/3] fix pdm build for trixie Stefan Hanreich
2025-08-11 14:18 ` [pdm-devel] [PATCH proxmox-datacenter-manager 1/3] qemu: set with_conntrack_state when remote migrating Stefan Hanreich
2025-08-12  8:02   ` [pdm-devel] applied: " Dominik Csapak
2025-08-11 14:18 ` [pdm-devel] [PATCH proxmox-datacenter-manager 2/3] api: privileged: fix fchownat call Stefan Hanreich
2025-08-12  7:31   ` Lukas Wagner
2025-08-12  8:03     ` Dominik Csapak
2025-08-11 14:18 ` Stefan Hanreich [this message]
2025-08-12  8:02   ` [pdm-devel] applied: [PATCH proxmox-datacenter-manager 3/3] lxc: qemu: set new status properties Dominik Csapak
2025-08-12  7:08 ` [pdm-devel] [PATCH proxmox-datacenter-manager 0/3] fix pdm build for trixie Dominik Csapak
2025-08-12  7:32   ` Lukas Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250811141847.271476-4-s.hanreich@proxmox.com \
    --to=s.hanreich@proxmox.com \
    --cc=pdm-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal