KVM: SVM: Split out architectural interrupt/NMI/SMI blocking checks
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 18:19:26 +0000 (14:19 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 16:14:40 +0000 (12:14 -0400)
commitcae96af18452336aff85c95c6892aab1ed955eed
treecb1a9a7fea6b66c50428591218e5914e215e473b
parent1b660b6baaafd8b9056740b83decd7fc74023627
KVM: SVM: Split out architectural interrupt/NMI/SMI blocking checks

Move the architectural (non-KVM specific) interrupt/NMI/SMI blocking checks
to a separate helper so that they can be used in a future patch by
svm_check_nested_events().

No functional change intended.

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