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

[Xen-changelog] Fix HVM x86-32 PAE guest support on 64-bit Xen.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 03bc4062fe5f2046fd1a1d0104ba1762f7e976ee
# Parent  5abf652c4c52ae39c232bde1c298949210b36dfb
Fix HVM x86-32 PAE guest support on 64-bit Xen.

Signed-off-by: Xiaohui Xin < xiaohui.xin@xxxxxxxxx>

diff -r 5abf652c4c52 -r 03bc4062fe5f xen/arch/x86/shadow.c
--- a/xen/arch/x86/shadow.c     Tue Feb 21 18:36:00 2006
+++ b/xen/arch/x86/shadow.c     Wed Feb 22 08:53:54 2006
@@ -3609,7 +3609,7 @@
     if ( d->arch.ops->guest_paging_levels == PAGING_L3 ) 
     {
         if ( SH_GUEST_32PAE )
-            gpfn = hvm_get_guest_ctrl_reg(v, 3);
+            gpfn = (hvm_get_guest_ctrl_reg(v, 3)) >> PAGE_SHIFT;
         else
             gpfn = pagetable_get_pfn(v->arch.guest_table);
     }

_______________________________________________
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®.