ia64/xen-unstable

changeset 8930:946a45f07351

Fix loading binary kernel images.
Starting a domain with a binary kernel image fails due to an uninitialized
field. This patch fixes that problem.
The Novell NetWare port to Xen 3.0 currently uses the binary image loader.

Signed-off-by: Bruce Rogers <brogers@novell.com>
author cl349@firebug.cl.cam.ac.uk
date Mon Feb 20 15:18:38 2006 +0000 (2006-02-20)
parents 82f6786a0aa8
children c93c6b392ce5
files tools/libxc/xc_load_bin.c
line diff
     1.1 --- a/tools/libxc/xc_load_bin.c	Mon Feb 20 15:15:10 2006 +0000
     1.2 +++ b/tools/libxc/xc_load_bin.c	Mon Feb 20 15:18:38 2006 +0000
     1.3 @@ -231,6 +231,7 @@ static int parsebinimage(char *image,
     1.4      dsi->v_kernstart = dsi->v_start;
     1.5      dsi->v_kernend = dsi->v_end;
     1.6      dsi->v_kernentry = image_info->entry_addr;
     1.7 +    dsi->xen_guest_string = "";
     1.8  
     1.9      return 0;
    1.10  }