Ian Campbell
2010-Sep-10 13:55 UTC
[Xen-devel] [PATCH] xl: remove another string literal from config struct
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1284126850 -3600 # Node ID d158e101baa1b3b2e0920a6476d1dae4d00b336b # Parent 69dd2d8cfa88f042a4a22fe37512a3214518c4ba xl: remove another string literal from config struct Broken by 22124:098790dd9327 "xl: use xlu_cfg_replace_string in a few more places" Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r 69dd2d8cfa88 -r d158e101baa1 tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Sep 10 13:56:10 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri Sep 10 14:54:10 2010 +0100 @@ -274,7 +274,7 @@ static void init_build_info(libxl_domain if (c_info->hvm) { b_info->shadow_memkb = 0; /* Set later */ b_info->video_memkb = 8 * 1024; - b_info->kernel.path = "hvmloader"; + b_info->kernel.path = strdup("hvmloader"); b_info->hvm = 1; b_info->u.hvm.pae = 1; b_info->u.hvm.apic = 1; _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Maybe Matching Threads
- [PATCH, v2]: xl: move domain struct init functions to libxl
- [PATCH] xl: remove duplicate line
- [PATCH QXL 2/2] libxl: Add qxl vga interface support.
- [PATCH] [PATCH v4] Add the bios option to specify the bios to load
- [PATCH] libxl: do not overwrite user supplied config when running bootloader