all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH pve-qemu v2 0/2] include Hyper-V enlightenments in
Date: Mon,  1 Jun 2026 09:08:08 +0200	[thread overview]
Message-ID: <20260601071633.442590-1-a.bied-charreton@proxmox.com> (raw)

In the context of custom CPU models, the hv-* flags are not part of the
base list at all. This means they don't show up in the selector, not
even as unsupported, making it impossible to set them without manually
editing cpu-models.conf. 

Until now, this base list was generated from the '-cpu help' output at
pve-qemu-kvm build time [0].

The first patch refactors the script parsing CPU flags to additionally
include the Hyper-V enlightenments by sourcing the flags from the 
qom-list-properties QMP command instead, blacklisting unwanted
properties this new source would add.

The second patch pins the resulting flag list into the repository and
fails the build on any divergence, as already done for CPU models. This
ensures flag additions/removals are surfaced for review on QEMU bumps. 

[0] https://git.proxmox.com/?p=pve-qemu.git;a=blob;f=debian/rules;h=c90db29b0f03568224b1c79431bce2b753283a4d;hb=refs/heads/master#l126

Arthur Bied-Charreton (2):
  build: include Hyper-V enlightenments in CPUID flags list
  build: fail when recognized CPUID flags list changes

 debian/parse-cpu-flags.pl            | 125 +++++++-
 debian/recognized-CPUID-flags-x86_64 | 430 +++++++++++++++++++++++++++
 debian/rules                         |   6 +-
 3 files changed, 547 insertions(+), 14 deletions(-)
 create mode 100644 debian/recognized-CPUID-flags-x86_64

-- 
2.47.3




             reply	other threads:[~2026-06-01  7:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-01  7:08 Arthur Bied-Charreton [this message]
2026-06-01  7:08 ` [PATCH v2 1/2] build: include Hyper-V enlightenments in CPUID flags list Arthur Bied-Charreton
2026-06-02 12:14   ` Fiona Ebner
2026-06-02 13:13     ` Arthur Bied-Charreton
2026-06-02 13:34       ` Fiona Ebner
2026-06-01  7:08 ` [PATCH v2 2/2] build: fail when recognized CPUID flags list changes Arthur Bied-Charreton
2026-06-03  7:12 ` superseded: [PATCH pve-qemu v2 0/2] include Hyper-V enlightenments in Arthur Bied-Charreton

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=20260601071633.442590-1-a.bied-charreton@proxmox.com \
    --to=a.bied-charreton@proxmox.com \
    --cc=pve-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