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

[Xen-changelog] [xen-unstable] libxc: Explicitly reserve space for special pages in HVM memmap.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1174071568 0
# Node ID cb1693873a7ea08cbb2e13ee9d618325b19894bb
# Parent  1e592e4557c15559657b88dca3759322d8114787
libxc: Explicitly reserve space for special pages in HVM memmap.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/libxc/xc_hvm_build.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r 1e592e4557c1 -r cb1693873a7e tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c        Fri Mar 16 18:06:43 2007 +0000
+++ b/tools/libxc/xc_hvm_build.c        Fri Mar 16 18:59:28 2007 +0000
@@ -137,6 +137,12 @@ static void build_e820map(void *e820_pag
     e820entry[nr_map].type = E820_RAM;
     nr_map++;
 
+    /* Explicitly reserve space for special pages (ioreq and xenstore). */
+    e820entry[nr_map].addr = mem_size - PAGE_SIZE * 3;
+    e820entry[nr_map].size = PAGE_SIZE * 3;
+    e820entry[nr_map].type = E820_RESERVED;
+    nr_map++;
+
     if ( extra_mem_size )
     {
         e820entry[nr_map].addr = (1ULL << 32);

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