direct-io.hg

diff tools/libxc/xc_hvm_build.c @ 14099:aa1be6f5150e

x86 hvm domain builder, restore: set shared_info.arch.max_pfn for
dump-core to know the area to dump

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir@xensource.com>
date Sat Feb 24 14:19:05 2007 +0000 (2007-02-24)
parents 8f75c7910b9c
children 1966270d89d7
line diff
     1.1 --- a/tools/libxc/xc_hvm_build.c	Sat Feb 24 14:10:27 2007 +0000
     1.2 +++ b/tools/libxc/xc_hvm_build.c	Sat Feb 24 14:19:05 2007 +0000
     1.3 @@ -262,6 +262,7 @@ static int setup_guest(int xc_handle,
     1.4      /* NB. evtchn_upcall_mask is unused: leave as zero. */
     1.5      memset(&shared_info->evtchn_mask[0], 0xff,
     1.6             sizeof(shared_info->evtchn_mask));
     1.7 +    shared_info->arch.max_pfn = page_array[nr_pages - 1];
     1.8      munmap(shared_info, PAGE_SIZE);
     1.9  
    1.10      if ( v_end > HVM_BELOW_4G_RAM_END )