summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-04-04 12:39:33 +0200
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:02 -0400
commit8061252ee0d21e1289235a4b7fe61f53010c46ff (patch)
treea6a619255e1aeacb7248593f730fa9cd72d93ec7 /arch/x86/include
parentd7eb82030699e6151f1356e90d495bf292564fb7 (diff)
downloadop-kernel-dev-8061252ee0d21e1289235a4b7fe61f53010c46ff.zip
op-kernel-dev-8061252ee0d21e1289235a4b7fe61f53010c46ff.tar.gz
KVM: SVM: Add intercept checks for remaining twobyte instructions
This patch adds intercepts checks for the remaining twobyte instructions to the KVM instruction emulator. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h
index fdaf59a..f30650f 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -344,6 +344,8 @@ enum x86_intercept {
x86_intercept_wbinvd,
x86_intercept_monitor,
x86_intercept_mwait,
+ x86_intercept_rdmsr,
+ x86_intercept_wrmsr,
nr_x86_intercepts
};
OpenPOWER on IntegriCloud