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

[Xen-changelog] [xen-unstable] fix PDPE entry in P2M table under 32bit PAE hypervisor



# HG changeset patch
# User root@xxxxxxxxxxxxxxxx
# Date 1172469513 21600
# Node ID 1c5e6239a8d0381fdbf56d4926f986d7f0ec07c0
# Parent  c2e7bacf0919242623bbd0f4c20fec08c1735a07
fix PDPE entry in P2M table under 32bit PAE hypervisor
---
 xen/arch/x86/mm/p2m.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r c2e7bacf0919 -r 1c5e6239a8d0 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c     Tue Feb 27 01:52:27 2007 +0000
+++ b/xen/arch/x86/mm/p2m.c     Sun Feb 25 23:58:33 2007 -0600
@@ -145,6 +145,10 @@ p2m_next_level(struct domain *d, mfn_t *
             paging_write_p2m_entry(d, gfn, p2m_entry, new_entry, 4);
             break;
         case PGT_l2_page_table:
+#if CONFIG_PAGING_LEVELS == 3
+            /* for PAE mode, PDPE only has PCD/PWT/P bits available */
+            new_entry = l1e_from_pfn(mfn_x(page_to_mfn(pg)), _PAGE_PRESENT);
+#endif
             paging_write_p2m_entry(d, gfn, p2m_entry, new_entry, 3);
             break;
         case PGT_l1_page_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®.