[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] svm: Actually remove disabling of CR4-read-intercept when using NPT.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1191418888 -3600
# Node ID 33107700062c4442ac66866120d3cfb6bc87a229
# Parent  479d83aa02caa9fa1d1ccecf355821eb3f5712bd
svm: Actually remove disabling of CR4-read-intercept when using NPT.
Should have been in the previosu changeset. Oops.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/svm/vmcb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 479d83aa02ca -r 33107700062c xen/arch/x86/hvm/svm/vmcb.c
--- a/xen/arch/x86/hvm/svm/vmcb.c       Wed Oct 03 14:33:57 2007 +0100
+++ b/xen/arch/x86/hvm/svm/vmcb.c       Wed Oct 03 14:41:28 2007 +0100
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.