KVM: SVM: immediately inject INTR vmexit
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 17:15:33 +0000 (13:15 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:23 +0000 (12:14 -0400)
commit6e085cbfb0f0c7de4ca0f370adb572b0e07a818c
tree668d3407fc8573e1b4f47e0fafde8ab03601476e
parent38c0b192bd6df089cdffd9828d19e764385f96e6
KVM: SVM: immediately inject INTR vmexit

We can immediately leave SVM guest mode in svm_check_nested_events
now that we have the nested_run_pending mechanism.  This makes
things easier because we can run the rest of inject_pending_event
with GIF=0, and KVM will naturally end up requesting the next
interrupt window.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/nested.c