From 3430042f3485c5bb273d2cb98ba700309600d12a Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 3 Oct 2007 14:41:28 +0100 Subject: [PATCH] svm: Actually remove disabling of CR4-read-intercept when using NPT. Should have been in the previosu changeset. Oops. Signed-off-by: Keir Fraser --- xen/arch/x86/hvm/svm/vmcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/hvm/svm/vmcb.c b/xen/arch/x86/hvm/svm/vmcb.c index 497e6e0cda..a04d91acc6 100644 --- a/xen/arch/x86/hvm/svm/vmcb.c +++ b/xen/arch/x86/hvm/svm/vmcb.c @@ -239,7 +239,7 @@ static int construct_vmcb(struct vcpu *v) * No point in intercepting CR3 reads, because the hardware will return * the guest version anyway. */ - vmcb->cr_intercepts &= ~(CR_INTERCEPT_CR3_READ|CR_INTERCEPT_CR4_READ); + vmcb->cr_intercepts &= ~CR_INTERCEPT_CR3_READ; /* * No point in intercepting INVLPG if we don't have shadow pagetables -- 2.30.2