Re: [PATCH v2] Introduce KVM_X86_QUIRK_VMCS12_FREEZE_IN_SMM_CC

From: Sean Christopherson

Date: Thu Mar 05 2026 - 12:10:22 EST


On Thu, 05 Feb 2026 15:15:26 -0800, Jim Mattson wrote:
> Add KVM_X86_QUIRK_VMCS12_FREEZE_IN_SMM_CC to allow L1 to set FREEZE_IN_SMM
> in vmcs12's GUEST_IA32_DEBUGCTL field, as permitted prior to
> commit 6b1dd26544d0 ("KVM: VMX: Preserve host's DEBUGCTLMSR_FREEZE_IN_SMM
> while running the guest"). The quirk is enabled by default for backwards
> compatibility; userspace can disable it via KVM_CAP_DISABLE_QUIRKS2 for
> consistency with the constraints on WRMSR(IA32_DEBUGCTL).
>
> [...]

Applied to kvm-x86 fixes, thanks!

[1/1] Introduce KVM_X86_QUIRK_VMCS12_FREEZE_IN_SMM_CC
https://github.com/kvm-x86/linux/commit/0f70db0758be

--
https://github.com/kvm-x86/linux/tree/next