]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6aae40f88e5c2105707d8a43c6291f3818a64701
tree6124240991e78d9e00afd6328e9650523bfe8669
parent4551bdb1f8f1c27675dd0131fab32be3500abb90
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