OSDN Git Service

KVM: x86: Move kvm_{before,after}_interrupt() calls to vendor code
authorSean Christopherson <sean.j.christopherson@intel.com>
Sat, 20 Apr 2019 05:50:58 +0000 (22:50 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Jun 2019 09:46:03 +0000 (11:46 +0200)
commit165072b089e5af32c2693ab900d5fb5d41e3f293
tree235c969908b6d21a80bf4bec4147a45346beb154
parent2342080cd6752fd40958f5a2aee0fb496ae92dce
KVM: x86: Move kvm_{before,after}_interrupt() calls to vendor code

VMX can conditionally call kvm_{before,after}_interrupt() since KVM
always uses "ack interrupt on exit" and therefore explicitly handles
interrupts as opposed to blindly enabling irqs.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c