KVM: SVM: Add intercept check for accessing dr registers
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 4 Apr 2011 10:39:29 +0000 (12:39 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 11 May 2011 11:57:01 +0000 (07:57 -0400)
commit3b88e41a41344846ee28007ebfe1bb0defa7f86a
tree9c08334297bd05def6d3dffb1b947dd9b26b1ac5
parentcfec82cb7d313ae5b2c2dbb974401d7c214c7b09
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>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c
arch/x86/kvm/svm.c