|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Fix problems when creating HVM guest on PAE host with >4
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d9f980fabc18d0e133d72bc58aa968dadfa33f8a
# Parent eeac4fdf02ed4c2aec9793517ea441fe538ee326
Fix problems when creating HVM guest on PAE host with >4G physical memory.
Signed-off-by: Yunhong Jiang yunhong.jiang@xxxxxxxxx
Signed-off-by: Jun Nakajima jun.nakajima@xxxxxxxxx
diff -r eeac4fdf02ed -r d9f980fabc18 xen/arch/x86/shadow_public.c
--- a/xen/arch/x86/shadow_public.c Thu Mar 2 10:00:49 2006
+++ b/xen/arch/x86/shadow_public.c Thu Mar 2 10:03:34 2006
@@ -413,7 +413,8 @@
(l3e_get_flags(mpl3e[i]) & _PAGE_PRESENT) ?
l2e_from_pfn(l3e_get_pfn(mpl3e[i]), __PAGE_HYPERVISOR) :
l2e_empty();
- mpl2e[l2_table_offset(RO_MPT_VIRT_START)] = l2e_empty();
+ for ( i = 0; i < (MACHPHYS_MBYTES >> (L2_PAGETABLE_SHIFT - 20)); i++ )
+ mpl2e[l2_table_offset(RO_MPT_VIRT_START) + i] = l2e_empty();
v->arch.monitor_table = mk_pagetable(m3mfn << PAGE_SHIFT); /* < 4GB */
v->arch.monitor_vtable = (l2_pgentry_t *) mpl3e;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Fix problems when creating HVM guest on PAE host with >4G physical memory.,
Xen patchbot -unstable <=
|
|
|
|
|