aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/svm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-12-06 12:50:00 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:19 -0500
commit80a8119ca3f021037b8513d39dbb0ffd1af86b20 (patch)
tree38928e7b3fbd21ad4508bce11fb35899babf7774 /drivers/kvm/svm.h
parent6e3d5dfbad4d8c29bdf8ed160f91f955f0efc12b (diff)
KVM: SVM: Trap access to the cr8 register
Later we may be able to use the virtual tpr feature, but for now, just trap it. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/svm.h')
-rw-r--r--drivers/kvm/svm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/svm.h b/drivers/kvm/svm.h
index 5fa277c0187c..5fd50491b555 100644
--- a/drivers/kvm/svm.h
+++ b/drivers/kvm/svm.h
@@ -204,6 +204,7 @@ struct __attribute__ ((__packed__)) vmcb {
204#define INTERCEPT_CR0_MASK 1 204#define INTERCEPT_CR0_MASK 1
205#define INTERCEPT_CR3_MASK (1 << 3) 205#define INTERCEPT_CR3_MASK (1 << 3)
206#define INTERCEPT_CR4_MASK (1 << 4) 206#define INTERCEPT_CR4_MASK (1 << 4)
207#define INTERCEPT_CR8_MASK (1 << 8)
207 208
208#define INTERCEPT_DR0_MASK 1 209#define INTERCEPT_DR0_MASK 1
209#define INTERCEPT_DR1_MASK (1 << 1) 210#define INTERCEPT_DR1_MASK (1 << 1)