all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [PATCH datacenter-manager/proxmox{,-yew-comp} 0/3] load VM-specific CPU flags from the remote
Date: Mon, 30 Nov 2026 11:47:13 +0100	[thread overview]
Message-ID: <20261130104716.329802-1-a.bied-charreton@proxmox.com> (raw)

The CPU editor in PDM offers a hardcoded list of VM-specific CPU flags
which has fallen behind qemu-server.

Since 9.0.26, PVE has an endpoint listing these flags. This series adds
that call to pve-api-types, proxies it to PDM and makes the editor load
the flags from the guest's node.

If the endpoint is missing on the node or on an older PDM server, the
editor falls back to the hardcoded list. Other errors are shown.

Note that currently the only symptom this fixes is the missing
nested-virt flag, if preferred we could also just add that to the
hardcoded list as a stopgap to limit churn.

Build dependencies:
- proxmox-datacenter-manager requires bumped pve-api-types
- proxmox-yew-comp requires bumped pve-api-types


proxmox:

Arthur Bied-Charreton (1):
  pve-api-types: add VM-specific CPU flags endpoint

 pve-api-types/generate.pl            |   1 +
 pve-api-types/src/generated/code.rs  |  30 +++++-
 pve-api-types/src/generated/types.rs | 140 ++++++++++++++++++++-------
 3 files changed, 133 insertions(+), 38 deletions(-)


datacenter-manager:

Arthur Bied-Charreton (1):
  api: pve: add VM-specific CPU flags endpoint

 server/src/api/pve/node.rs | 46 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 44 insertions(+), 2 deletions(-)


proxmox-yew-comp:

Arthur Bied-Charreton (1):
  qemu: cpu flags: load the CPU flags from the node

 .../pve/qemu_hardware_panel/mobile.rs         |   6 +-
 src/form/pve/qemu_cpu_flags_list.rs           | 135 +++++++++++++-----
 .../qemu_property/qemu_processor_property.rs  |  25 +++-
 3 files changed, 126 insertions(+), 40 deletions(-)


Summary over all repositories:
  7 files changed, 303 insertions(+), 80 deletions(-)

-- 
Generated by murpp 0.12.1




             reply	other threads:[~2026-11-30 10:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 10:47 Arthur Bied-Charreton [this message]
2026-11-30 10:47 ` [PATCH proxmox 1/3] pve-api-types: add VM-specific CPU flags endpoint Arthur Bied-Charreton
2026-11-30 10:47 ` [PATCH datacenter-manager 2/3] api: pve: " Arthur Bied-Charreton
2026-11-30 10:47 ` [PATCH proxmox-yew-comp 3/3] qemu: cpu flags: load the CPU flags from the node Arthur Bied-Charreton
2026-11-30 14:12 ` superseded: [PATCH datacenter-manager/proxmox{,-yew-comp} 0/3] load VM-specific CPU flags from the remote Arthur Bied-Charreton
2026-12-01 13:56 ` Thomas Lamprecht

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=20261130104716.329802-1-a.bied-charreton@proxmox.com \
    --to=a.bied-charreton@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal