[PATCH 0/3] KVM: nVMX: nEPT injection fixes and cleanups

Sean Christopherson posted 3 patches 1 year, 10 months ago
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(-)
[PATCH 0/3] KVM: nVMX: nEPT injection fixes and cleanups
Posted by Sean Christopherson 1 year, 10 months ago
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
-- 
2.43.0.687.g38aa6559b0-goog
Re: [PATCH 0/3] KVM: nVMX: nEPT injection fixes and cleanups
Posted by Sean Christopherson 1 year, 8 months ago
On Fri, 09 Feb 2024 14:16:57 -0800, Sean Christopherson wrote:
> 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
> 
> [...]

Applied to kvm-x86 vmx, thanks!

[1/3] KVM: nVMX: Clear EXIT_QUALIFICATION when injecting an EPT Misconfig
      https://github.com/kvm-x86/linux/commit/0c4765140351
[2/3] KVM: x86: Move nEPT exit_qualification field from kvm_vcpu_arch to x86_exception
      https://github.com/kvm-x86/linux/commit/a9466078687f
[3/3] KVM: nVMX: Add a sanity check that nested PML Full stems from EPT Violations
      https://github.com/kvm-x86/linux/commit/23ffe4bbf807

--
https://github.com/kvm-x86/linux/tree/next