search for: libxl__domain_renam

Displaying 3 results from an estimated 3 matches for "libxl__domain_renam".

Did you mean: libxl__domain_rename
2012 Jul 04
2
[PATCH] libxl: rename stubdomain when renaming domain
...domain named "FOO--incoming-dm" Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r 12011fcfd5cc -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 li...
2011 Dec 16
13
[PATCH 0 of 4] Support for VM generation ID save/restore and migrate
This patch series adds support for preservation of the VM generation ID buffer address in xenstore across save/restore and migrate, and also code to increment the value in all cases except for migration. Patch 1 modifies the guest ro and rw node creation to an open coding style and cleans up some extraneous node creation. Patch 2 modifies creation of the hvmloader key in xenstore and adds
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...to out; + /* ...but libxl__xs_mkdir() returns 1 on success, 0 on failure. */ + rc = libxl__xs_mkdir(gc, t, libxl_usb_path, noperm, ARRAY_SIZE(noperm)); + if (!rc) goto out; + xs_write(ctx->xsh, t, libxl__sprintf(gc, "%s/vm", dom_path), vm_path, strlen(vm_path)); rc = libxl__domain_rename(gc, *domid, 0, info->name, t); if (rc) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 3ba3a21..d2e00fa 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -1412,6 +1412,24 @@ _hidden int libxl__qmp_save(libxl__gc *gc, int domid, c...