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

[Xen-changelog] [xen-3.1-testing] x86_64: Do not leak trampoline mapping into dom0's initial address



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196962305 0
# Node ID 3b423ab38b7ae6e27fdf3407ecf903b07f863575
# Parent  8524311a69e7fe4d368cd6b505549fad5dd22bea
x86_64: Do not leak trampoline mapping into dom0's initial address
space.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   16535:c67d024fdd2d3527ccd08e513ca3ed3c9dcb4b68
xen-unstable date:        Wed Dec 05 13:49:19 2007 +0000
---
 xen/arch/x86/domain_build.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 8524311a69e7 -r 3b423ab38b7a xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Thu Dec 06 17:31:08 2007 +0000
+++ b/xen/arch/x86/domain_build.c       Thu Dec 06 17:31:45 2007 +0000
@@ -642,6 +642,7 @@ int __init construct_dom0(
         l4start = l4tab = page_to_virt(page);
     }
     copy_page(l4tab, idle_pg_table);
+    l4tab[0] = l4e_empty(); /* zap trampoline mapping */
     l4tab[l4_table_offset(LINEAR_PT_VIRT_START)] =
         l4e_from_paddr(__pa(l4start), __PAGE_HYPERVISOR);
     l4tab[l4_table_offset(PERDOMAIN_VIRT_START)] =

_______________________________________________
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®.