Re: [PATCH v2] KVM: nVMX: Service local TLB flushes on failed nested VM-Enter
From: Sean Christopherson
Date: Fri Jul 31 2026 - 16:18:41 EST
On Wed, 22 Jul 2026 23:01:28 +0000, Yosry Ahmed wrote:
> KVM services local TLB flushes on "full" nested VM-Exits (through
> __nested_vmx_vmexit()), but not if a nested VM-Enter fails (e.g. due to
> failed VMCS checks in nested_vmx_enter_non_root_mode()).
>
> However, it is possible that KVM had queued TLB flushes that need to be
> performed, even if the nested VM-Enter was not successful. For example,
> if VPID is disabled for L2 (via nested_vmx_transition_tlb_flush(), or if
> via the MSR load lists, as the SDM says:
>
> [...]
Applied to kvm-x86 vmx, thanks!
[1/1] KVM: nVMX: Service local TLB flushes on failed nested VM-Enter
https://github.com/kvm-x86/linux/commit/05a0b701d108
--
https://github.com/kvm-x86/linux/tree/next