Displaying 2 results from an estimated 2 matches for "our_tran".
Did you mean:
our_trans
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
...011fcfd5cc -r 167f013324e8 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Thu Jun 28 13:25:02 2012 +0100
+++ b/tools/libxl/libxl.c Wed Jul 04 11:27:05 2012 +0100
@@ -276,6 +276,8 @@ int libxl__domain_rename(libxl__gc *gc,
char *got_old_name;
unsigned int got_old_len;
xs_transaction_t our_trans = 0;
+ uint32_t stub_dm_domid;
+ const char *stub_dm_old_name = NULL, *stub_dm_new_name = NULL;
int rc;
dom_path = libxl__xs_get_dompath(gc, domid);
@@ -284,6 +286,12 @@ int libxl__domain_rename(libxl__gc *gc,
name_path= libxl__sprintf(gc, "%s/name", dom_path);...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...xs_transaction_t trans) {
+ xs_transaction_t trans)
+{
+ libxl_gc gc = LIBXL_INIT_GC(ctx);
char *dom_path = 0;
const char *name_path;
char *got_old_name;
@@ -190,10 +196,10 @@ int libxl_domain_rename(libxl_ctx *ctx,
xs_transaction_t our_trans = 0;
int rc;
- dom_path = libxl_xs_get_dompath(ctx, domid);
+ dom_path = libxl_xs_get_dompath(&gc, domid);
if (!dom_path) goto x_nomem;
- name_path= libxl_sprintf(ctx, "%s/name", dom_path);
+ name_path= libxl_sprintf(&gc, "%s/name", dom_path);...