public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: David Riley <d.riley@proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>, pve-devel@lists.proxmox.com
Subject: Re: [PATCH qemu-server] cpu config: expose CPU 'level' property required for certain host/guest configurations
Date: Mon, 18 May 2026 16:00:05 +0200	[thread overview]
Message-ID: <1722944d-fcd5-4b4f-a37e-a9ca345d52e2@proxmox.com> (raw)
In-Reply-To: <20260518124018.148829-1-f.ebner@proxmox.com>

Thanks for sending in this patch.

I was able to apply the series without issues. I tested the new
`level=30` option by adding it to my <vmid>.conf for a Windows Server
Guest.

Checked the output from `qm showcmd <vmid>` and was able to verify
that the option was set correctly and the default Hyper-V
Enlightenments were also still present as expected.

Tested-by: David Riley <d.riley@proxmox.com>
Reviewed-by: David Riley <d.riley@proxmox.com>

On 5/18/26 2:40 PM, Fiona Ebner wrote:
> As reported in the community forum in 2024 [0] already, with somewhat
> recent Intel CPUs, Windows guests with Hyper-V enabled will fail to
> boot with certain CPU types like 'host' or 'max'. A workaround is
> using 'level=30' in the '-cpu' QEMU commandline. The 'level' property
> is currently not exposed, so users were forced to use custom 'args',
> which means they lose other CPU configuration made by Proxmox VE.
> Expose the 'level' setting, so it can be done without custom args.
>
> While the problem is not new, it will become more common, since
> virtualization-based security is being adapted more broadly.
>
> [0]: https://forum.proxmox.com/threads/131950/post-642093
>
> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
> ---
>   src/PVE/QemuServer/CPUConfig.pm     | 18 ++++++++++++++++++
>   src/test/cfg2cmd/cpu-level.conf     |  6 ++++++
>   src/test/cfg2cmd/cpu-level.conf.cmd | 26 ++++++++++++++++++++++++++
>   3 files changed, 50 insertions(+)
>   create mode 100644 src/test/cfg2cmd/cpu-level.conf
>   create mode 100644 src/test/cfg2cmd/cpu-level.conf.cmd
>
>
> [snip]




  reply	other threads:[~2026-05-18 14:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-18 12:40 [PATCH qemu-server] cpu config: expose CPU 'level' property required for certain host/guest configurations Fiona Ebner
2026-05-18 14:00 ` David Riley [this message]
2026-05-18 15:59 ` applied: " 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=1722944d-fcd5-4b4f-a37e-a9ca345d52e2@proxmox.com \
    --to=d.riley@proxmox.com \
    --cc=f.ebner@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 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