[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211125014944.536398-1-seanjc@google.com>
Date: Thu, 25 Nov 2021 01:49:42 +0000
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Lai Jiangshan <jiangshanlai+lkml@...il.com>
Subject: [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(-)
--
2.34.0.rc2.393.gf8c9666880-goog
Powered by blists - more mailing lists