mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fix HVM x86-32 PAE guest support on 64-bit Xen.
Signed-off-by: Xiaohui Xin < xiaohui.xin@intel.com>
This commit is contained in:
1 parent
8d2aabfffa
commit
ac6fac6bdc
1 file changed
+1
-1
@@ -3609,7 +3609,7 @@ static inline int guest_page_fault(
|
||||
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);
|
||||
}
|
||||
|
||||