public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: Re: [PATCH-SERIES qemu-server 0/2] cpu config: disable APICv for Windows 11/2022/2025 to mitigate issues with VBS
Date: Fri, 10 Jul 2026 10:08:42 +0200	[thread overview]
Message-ID: <16c8d95b-50a4-43a5-b101-1b0381a61868@proxmox.com> (raw)
In-Reply-To: <20260709134211.199744-1-f.ebner@proxmox.com>

Am 09.07.26 um 3:42 PM schrieb Fiona Ebner:
> As reported in the community forum [0] and enterprise support, Windows
> with MBEC and VBS can have issues on certain Intel CPUs, leading to
> guest freezes and 100% CPU usage. The detection/enabling of APICv
> support in Windows was determined to be related. Disabling
> vmx-apicv-vid and/or vmx-apicv-register mitigates the issue. Disable
> both flags starting with a bumped 11.0+pve2 machine version for
> consistency.
> 
> [0]: https://forum.proxmox.com/threads/184178
> 
> 
> What still would be nice to check is if the issue also happens with a
> non-host model with nested-virt/vmx present. Otherwise we might want
> to restrict removing the flags to the host model.

I guess it doesn't really matter. Even if it doesn't trigger for a
specific combination, it might trigger for a different one. Note that
vmx-mbec also needs to be enabled for current virtual models (but QEMU
master has added new versions for many models to enabled it).

What would be nicer is to only remove the flags if vmx-mbec is present.
I looked into creating the dump of CPU model expansion during QEMU build
and shipping it, but the expansion is actually not static for a given
model, because many flags are gated behind other flags, so the expansion
for e.g. Skylake-Server is different than the one for
Skylake-Server,+vmx. Also, the file would be rather large with ~1.65 MiB.

What we could do instead, is have a systemd service for the pve-qemu-kvm
package which starts a dummy VM just for QMP querying. Having the
expansions would also make it possible to be more precise with the
phys-bits check which depends on pdp1gbe and for the custom CPU model
editor to show what the default values for a given model+flags actually are.

Should I look into that or should we disable the apicv flags without
trying to detect mbec?




      parent reply	other threads:[~2026-07-10  8:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-09 13:41 [PATCH-SERIES qemu-server 0/2] cpu config: disable APICv for Windows 11/2022/2025 to mitigate issues with VBS Fiona Ebner
2026-07-09 13:42 ` [PATCH qemu-server 1/2] cpu config: use $version_guard rather than passing $machine_version Fiona Ebner
2026-07-09 13:42 ` [PATCH qemu-server 2/2] cpu config: disable APICv for Windows 11/2022/2025 to mitigate issues with VBS Fiona Ebner
2026-07-10  8:08 ` Fiona Ebner [this message]

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=16c8d95b-50a4-43a5-b101-1b0381a61868@proxmox.com \
    --to=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