Skip to content

KVM: nVMX: Fix VPID + !EPT TLB bugs

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks (but I split the first in two).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUESTarch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c +1 more+42 -241 reply
2/2KVM: nVMX: Emulate guest TLB flush on nested VM-Enter with new vpid12arch/x86/kvm/vmx/nested.c+17 -202 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: nVMX: Fix VPID + !EPT TLB bugs

Fix two bugs reported by Lai where KVM mishandles guest-scoped TLB flushes when L2 is active. Bugs confirmed (and confirmed fixed) by the VPID+access test (patches posted for kvm-unit-tests).

Sean Christopherson (2):
KVM: nVMX: Flush current VPID (L1 vs. L2) for KVM_REQ_TLB_FLUSH_GUEST
KVM: nVMX: Emulate guest TLB flush on nested VM-Enter with new vpid12

 arch/x86/kvm/vmx/nested.c | 45 +++++++++++++++++----------------------
 arch/x86/kvm/vmx/vmx.c    | 23 ++++++++++++--------
 arch/x86/kvm/x86.c        | 28 ++++++++++++++++++++----
 arch/x86/kvm/x86.h        |  7 +-----
 4 files changed, 59 insertions(+), 44 deletions(-)
Signature · 1 line
2.34.0.rc2.393.gf8c9666880-goog