diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2011-04-04 14:39:35 +0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 15:57:03 +0400 |
commit | f6511935f424b9a25059ae18e91ad11dd24980e6 (patch) | |
tree | 8f3b8108255f943b2e3f355a9cdd12d31c92c16e /arch/x86/include/asm/kvm_emulate.h | |
parent | bf608f88faef1245ff87e731512517fc676ffe02 (diff) | |
download | 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/asm/kvm_emulate.h')
-rw-r--r-- | arch/x86/include/asm/kvm_emulate.h | 4 |
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 }; |