summaryrefslogtreecommitdiffstats
path: root/include/linux/kvm_host.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-05-07 11:36:11 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-06-04 16:01:45 +0200
commit64d6067057d9658acb8675afcfba549abdb7fc16 (patch)
tree1a7e8d52c083c5cd2bbab2f132437c03fdfeb171 /include/linux/kvm_host.h
parentf077825a8758d79838a757dafb79adcdd047ef3a (diff)
downloadop-kernel-dev-64d6067057d9658acb8675afcfba549abdb7fc16.zip
op-kernel-dev-64d6067057d9658acb8675afcfba549abdb7fc16.tar.gz
KVM: x86: stubs for SMM support
This patch adds the interface between x86.c and the emulator: the SMBASE register, a new emulator flag, the RSM instruction. It also adds a new request bit that will be used by the KVM_SMI ioctl. Reviewed-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r--include/linux/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index a8bcbc9..b019fee 100644
--- a/include/linux/kvm_host.h
+++ b/include/linux/kvm_host.h
@@ -134,6 +134,7 @@ static inline bool is_error_page(struct page *page)
#define KVM_REQ_ENABLE_IBS 23
#define KVM_REQ_DISABLE_IBS 24
#define KVM_REQ_APIC_PAGE_RELOAD 25
+#define KVM_REQ_SMI 26
#define KVM_USERSPACE_IRQ_SOURCE_ID 0
#define KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID 1
OpenPOWER on IntegriCloud