Re: [PATCH] KVM: nSVM: Ensure AVIC is inhibited when restoring a vCPU to guest mode
From: Sean Christopherson
Date: Thu Mar 05 2026 - 12:17:50 EST
On Tue, 24 Feb 2026 22:50:17 +0000, Yosry Ahmed wrote:
> On nested VMRUN, KVM ensures AVIC is inhibited by requesting
> KVM_REQ_APICV_UPDATE, triggering a check of inhibit reasons, finding
> APICV_INHIBIT_REASON_NESTED, and disabling AVIC.
>
> However, when KVM_SET_NESTED_STATE is performed on a vCPU not in guest
> mode with AVIC enabled, KVM_REQ_APICV_UPDATE is not requested, and AVIC
> is not inhibited.
>
> [...]
Applied to kvm-x86 nested, thanks!
[1/1] KVM: nSVM: Ensure AVIC is inhibited when restoring a vCPU to guest mode
https://github.com/kvm-x86/linux/commit/24f7d36b824b
--
https://github.com/kvm-x86/linux/tree/next