search for: preserved_name

Displaying 1 result from an estimated 1 matches for "preserved_name".

2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...me(libxl_ctx *ctx, int libxl_domain_preserve(libxl_ctx *ctx, uint32_t domid, libxl_domain_create_info *info, const char *name_suffix, libxl_uuid new_uuid) { + libxl_gc gc = LIBXL_INIT_GC(ctx); struct xs_permissions roperm[2]; xs_transaction_t t; char *preserved_name; @@ -423,17 +447,29 @@ int libxl_domain_preserve(libxl_ctx *ctx int rc; - preserved_name = libxl_sprintf(ctx, "%s%s", info->name, name_suffix); - if (!preserved_name) return ERROR_NOMEM; + preserved_name = libxl_sprintf(&gc, "%s%s", info->name, name_s...