Skip to content

KVM: nVMX: nEPT injection fixes and cleanups

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Applied to kvm-x86 vmx, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3KVM: nVMX: Clear EXIT_QUALIFICATION when injecting an EPT Misconfigarch/x86/kvm/vmx/nested.c+4 -20 replies
2/3KVM: x86: Move nEPT exit_qualification field from kvm_vcpu_arch to x86_exceptionarch/x86/include/asm/kvm_host.h arch/x86/kvm/kvm_emulate.h arch/x86/kvm/mmu/paging_tmpl.h +2 more+20 -140 replies
3/3KVM: nVMX: Add a sanity check that nested PML Full stems from EPT Violationsarch/x86/kvm/vmx/nested.c+10 -00 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/3] KVM: nVMX: nEPT injection fixes and cleanups

Fix a minor bug where KVM doesn't clear EXIT_QUALIFICATION when injecting an EPT Misconfig into L1, and then move exit_qualification out of kvm_vcpu_arch to avoid recurrences of the bug fixed by commit d7f0a00e438d ("KVM: VMX: Report up-to-date exit qualification to userspace").

Sean Christopherson (3):
KVM: nVMX: Clear EXIT_QUALIFICATION when injecting an EPT Misconfig
KVM: x86: Move nEPT exit_qualification field from kvm_vcpu_arch to
x86_exception
KVM: nVMX: Add a sanity check that nested PML Full stems from EPT
Violations

 arch/x86/include/asm/kvm_host.h |  3 ---
 arch/x86/kvm/kvm_emulate.h      |  1 +
 arch/x86/kvm/mmu/paging_tmpl.h  | 14 +++++++-------
 arch/x86/kvm/vmx/nested.c       | 30 ++++++++++++++++++++++++++----
 arch/x86/kvm/vmx/vmx.c          |  2 --
 5 files changed, 34 insertions(+), 16 deletions(-)

base-commit: 7455665a3521aa7b56245c0a2810f748adc5fdd4

Signature · 1 line
2.43.0.687.g38aa6559b0-goog