aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-04-04 06:39:35 -0400
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:03 -0400
commitf6511935f424b9a25059ae18e91ad11dd24980e6 (patch)
tree8f3b8108255f943b2e3f355a9cdd12d31c92c16e /arch/x86/include/asm
parentbf608f88faef1245ff87e731512517fc676ffe02 (diff)
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/asm')
-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 {
346 x86_intercept_mwait, 346 x86_intercept_mwait,
347 x86_intercept_rdmsr, 347 x86_intercept_rdmsr,
348 x86_intercept_wrmsr, 348 x86_intercept_wrmsr,
349 x86_intercept_in,
350 x86_intercept_ins,
351 x86_intercept_out,
352 x86_intercept_outs,
349 353
350 nr_x86_intercepts 354 nr_x86_intercepts
351}; 355};