ia64/xen-unstable

changeset 8956:03bc4062fe5f

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

Signed-off-by: Xiaohui Xin < xiaohui.xin@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Feb 22 09:53:54 2006 +0100 (2006-02-22)
parents 5abf652c4c52
children 13e9fdaeed27
files xen/arch/x86/shadow.c
line diff
     1.1 --- a/xen/arch/x86/shadow.c	Tue Feb 21 19:36:00 2006 +0100
     1.2 +++ b/xen/arch/x86/shadow.c	Wed Feb 22 09:53:54 2006 +0100
     1.3 @@ -3609,7 +3609,7 @@ static inline int guest_page_fault(
     1.4      if ( d->arch.ops->guest_paging_levels == PAGING_L3 ) 
     1.5      {
     1.6          if ( SH_GUEST_32PAE )
     1.7 -            gpfn = hvm_get_guest_ctrl_reg(v, 3);
     1.8 +            gpfn = (hvm_get_guest_ctrl_reg(v, 3)) >> PAGE_SHIFT;
     1.9          else
    1.10              gpfn = pagetable_get_pfn(v->arch.guest_table);
    1.11      }