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:
kaf24@firebug.cl.cam.ac.uk committed 2006-02-22 09:53:54 +01:00
1 parent 8d2aabfffa
commit ac6fac6bdc
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.