KVM: x86: introduce ISA specific smi_allowed callback
authorLadi Prosek <lprosek@redhat.com>
Wed, 11 Oct 2017 14:54:41 +0000 (16:54 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Oct 2017 12:01:55 +0000 (14:01 +0200)
commit72d7b374b14d67e973bce476e4a75552478cc42d
tree6124240991e78d9e00afd6328e9650523bfe8669
parent0234bf885236a41ef05376039f2a8ebe7028a388
KVM: x86: introduce ISA specific smi_allowed callback

Similar to NMI, there may be ISA specific reasons why an SMI cannot be
injected into the guest. This commit adds a new smi_allowed callback to
be implemented in following commits.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c