From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 4C7351FF0B7 for ; Mon, 30 Nov 2026 11:47:37 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 00AE2216B6; Mon, 30 Nov 2026 11:47:37 +0100 (CET) From: Arthur Bied-Charreton 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 Message-ID: <20261130104716.329802-1-a.bied-charreton@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1796035645165 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.532 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: HAUMJPJ2GA3W62HNGGECNNHSS2ZIP6W5 X-Message-ID-Hash: HAUMJPJ2GA3W62HNGGECNNHSS2ZIP6W5 X-MailFrom: a.bied-charreton@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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