ia64/xen-unstable

changeset 9167:cb5abeaabd1a

[IA64] fix print out in ia64 setup_guest()

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Fri Mar 10 09:19:54 2006 -0700 (2006-03-10)
parents 5a0a0d9d126a
children 142a3eec56bd
files tools/libxc/xc_linux_build.c
line diff
     1.1 --- a/tools/libxc/xc_linux_build.c	Fri Mar 10 09:18:52 2006 -0700
     1.2 +++ b/tools/libxc/xc_linux_build.c	Fri Mar 10 09:19:54 2006 -0700
     1.3 @@ -505,8 +505,12 @@ static int setup_guest(int xc_handle,
     1.4  
     1.5      *store_mfn = page_array[1];
     1.6      *console_mfn = page_array[2];
     1.7 -    printf("store_mfn: 0x%lx, console_mfn: 0x%lx\n",
     1.8 -           (uint64_t)store_mfn, (uint64_t)console_mfn);
     1.9 +    printf("start_info: 0x%lx at 0x%lx, "
    1.10 +           "store_mfn: 0x%lx at 0x%lx, "
    1.11 +           "console_mfn: 0x%lx at 0x%lx\n",
    1.12 +           page_array[0], nr_pages,
    1.13 +           *store_mfn,    nr_pages - 2,
    1.14 +           *console_mfn,  nr_pages - 1);
    1.15  
    1.16      start_info = xc_map_foreign_range(
    1.17          xc_handle, dom, PAGE_SIZE, PROT_READ|PROT_WRITE, page_array[0]);