ia64/xen-unstable

changeset 14445:cb1693873a7e

libxc: Explicitly reserve space for special pages in HVM memmap.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Mar 16 18:59:28 2007 +0000 (2007-03-16)
parents 1e592e4557c1
children 62754c2fdcfa
files tools/libxc/xc_hvm_build.c
line diff
     1.1 --- a/tools/libxc/xc_hvm_build.c	Fri Mar 16 18:06:43 2007 +0000
     1.2 +++ b/tools/libxc/xc_hvm_build.c	Fri Mar 16 18:59:28 2007 +0000
     1.3 @@ -137,6 +137,12 @@ static void build_e820map(void *e820_pag
     1.4      e820entry[nr_map].type = E820_RAM;
     1.5      nr_map++;
     1.6  
     1.7 +    /* Explicitly reserve space for special pages (ioreq and xenstore). */
     1.8 +    e820entry[nr_map].addr = mem_size - PAGE_SIZE * 3;
     1.9 +    e820entry[nr_map].size = PAGE_SIZE * 3;
    1.10 +    e820entry[nr_map].type = E820_RESERVED;
    1.11 +    nr_map++;
    1.12 +
    1.13      if ( extra_mem_size )
    1.14      {
    1.15          e820entry[nr_map].addr = (1ULL << 32);