summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-04-04 12:39:35 +0200
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:03 -0400
commitf6511935f424b9a25059ae18e91ad11dd24980e6 (patch)
tree8f3b8108255f943b2e3f355a9cdd12d31c92c16e /arch/x86/include
parentbf608f88faef1245ff87e731512517fc676ffe02 (diff)
downloadlinux-f6511935f424b9a25059ae18e91ad11dd24980e6.tar.gz
linux-f6511935f424b9a25059ae18e91ad11dd24980e6.tar.xz
KVM: SVM: Add checks for IO instructions
This patch adds code to check for IOIO intercepts on instructions decoded by the KVM instruction emulator. [avi: fix build error due to missing #define D2bvIP] Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_emulate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index f30650f00907..081844860a3d 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -346,6 +346,10 @@ enum x86_intercept {
x86_intercept_mwait,
x86_intercept_rdmsr,
x86_intercept_wrmsr,
+ x86_intercept_in,
+ x86_intercept_ins,
+ x86_intercept_out,
+ x86_intercept_outs,
nr_x86_intercepts
};