Skip to content

KVM: VMX: INTR, NMI and #MC cleanup

Sean Christopherson kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KVM: VMX: Fix handling of #MC that occurs during VM-Entryarch/x86/kvm/vmx/vmx.c+8 -121 reply
2/5KVM: VMX: Read cached VM-Exit reason to detect external interruptarch/x86/kvm/vmx/vmcs.h arch/x86/kvm/vmx/vmx.c+37 -292 replies
3/5KVM: VMX: Store the host kernel's IDT base in a global variablearch/x86/kvm/vmx/vmx.c arch/x86/kvm/vmx/vmx.h+7 -60 replies
4/5KVM: x86: Move kvm_{before,after}_interrupt() calls to vendor codearch/x86/kvm/svm.c arch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c+6 -20 replies
5/5KVM: VMX: Handle NMIs, #MCs and async #PFs in common irqs-disabled fnarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm.c arch/x86/kvm/vmx/vmx.c +1 more+18 -153 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/5] KVM: VMX: INTR, NMI and #MC cleanup

This series' primarily focus is to refine VMX's handling of INTRs, NMIs and #MCs after a VM-Exit, making a few small optimizations and hopefully resulting in more readable code.

There's also a bug fix related to handling #MCs that occur during VM-Entry that was found by inspection when doing the aforementioned cleanup.

Sean Christopherson (5):
KVM: VMX: Fix handling of #MC that occurs during VM-Entry
KVM: VMX: Read cached VM-Exit reason to detect external interrupt
KVM: VMX: Store the host kernel's IDT base in a global variable
KVM: x86: Move kvm_{before,after}_interrupt() calls to vendor code
KVM: VMX: Handle NMIs, #MCs and async #PFs in common irqs-disabled fn

 arch/x86/include/asm/kvm_host.h |   2 +-
 arch/x86/kvm/svm.c              |   6 +-
 arch/x86/kvm/vmx/vmcs.h         |   6 ++
 arch/x86/kvm/vmx/vmx.c          | 111 +++++++++++++++++---------------
 arch/x86/kvm/vmx/vmx.h          |   1 -
 arch/x86/kvm/x86.c              |   4 +-
 6 files changed, 71 insertions(+), 59 deletions(-)
Signature · 1 line
2.21.0