aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm_emulate.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-04-04 06:39:29 -0400
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:01 -0400
commit3b88e41a41344846ee28007ebfe1bb0defa7f86a (patch)
tree9c08334297bd05def6d3dffb1b947dd9b26b1ac5 /arch/x86/include/asm/kvm_emulate.h
parentcfec82cb7d313ae5b2c2dbb974401d7c214c7b09 (diff)
KVM: SVM: Add intercept check for accessing dr registers
This patch adds the intercept checks for instruction accessing the debug registers. 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.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 2c0b5b47464f..fdaf59ac1c07 100644
--- a/arch/x86/include/asm/kvm_emulate.h
+++ b/arch/x86/include/asm/kvm_emulate.h
@@ -309,6 +309,8 @@ enum x86_intercept {
309 x86_intercept_clts, 309 x86_intercept_clts,
310 x86_intercept_lmsw, 310 x86_intercept_lmsw,
311 x86_intercept_smsw, 311 x86_intercept_smsw,
312 x86_intercept_dr_read,
313 x86_intercept_dr_write,
312 x86_intercept_lidt, 314 x86_intercept_lidt,
313 x86_intercept_sidt, 315 x86_intercept_sidt,
314 x86_intercept_lgdt, 316 x86_intercept_lgdt,