Displaying 2 results from an estimated 2 matches for "init_build_info".
2010 Sep 10
0
[PATCH] xl: remove another string literal from config struct
...w 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...
2011 Jan 11
0
[PATCH, v2]: xl: move domain struct init functions to libxl
...Tue Jan 11 15:30:48 2011 +0000
+++ b/tools/libxl/libxl.h Tue Jan 11 15:40:45 2011 +0000
@@ -280,6 +280,9 @@ int libxl_ctx_set_log(libxl_ctx *ctx, xe
int libxl_ctx_postfork(libxl_ctx *ctx);
/* domain related functions */
+void libxl_init_create_info(libxl_domain_create_info *c_info);
+void libxl_init_build_info(libxl_domain_build_info *b_info, libxl_domain_create_info *c_info);
+void libxl_init_dm_info(libxl_device_model_info *dm_info, libxl_domain_create_info *c_info, libxl_domain_build_info *b_info);
typedef int (*libxl_console_ready)(libxl_ctx *ctx, uint32_t domid, void *priv);
int libxl_domain_creat...