]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: SVM: Add checks for IO instructions
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:35 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:03 +0000 (07:57 -0400)
commit65e37573023bbb99b06aead4929c35fac3ec4333
tree8f3b8108255f943b2e3f355a9cdd12d31c92c16e
parent6bbdeb2b143b904a691cad7f95c091538616312b
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>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c