search for: libxl_domain_rename

Displaying 6 results from an estimated 6 matches for "libxl_domain_rename".

2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...anyway switch to the LOG* helper macros. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r 30bf79cc14d9 -r 7cec0543f67c tools/libxl/libxl.c --- a/tools/libxl/libxl.c Wed Aug 15 14:45:21 2012 +0100 +++ b/tools/libxl/libxl.c Wed Aug 15 16:58:21 2012 +0100 @@ -396,15 +396,12 @@ int libxl_domain_rename(libxl_ctx *ctx, return rc; } -int libxl_domain_resume(libxl_ctx *ctx, uint32_t domid, int suspend_cancel) +int libxl__domain_resume(libxl__gc *gc, uint32_t domid, int suspend_cancel) { - GC_INIT(ctx); int rc = 0; - if (xc_domain_resume(ctx->xch, domid, suspend_cancel)) { -...
2013 Jan 12
2
xen4.2 + qemu-upstream domain rename partial failure (& migration)
...in renames which I think affects everything running with the upstream qemu xen DM. If I create a domain, and then rename it, it renames in the xenstore, but it does not rename in qemu. This means that (interalia) the name on a VNC connection is incorrect. I am seeing this with a migration (where a libxl_domain_rename is done from "name--incoming" to "name" is done close to the end of the migration), but it also seems to happen with "xl rename" from the command line (see below for how to replicate). So, to be clear, it's renaming in xenstore (and xl list) but not the rename is...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...s_set_permissions(ctx->xsh, t, vm_path, roperm, ARRAY_SIZE(roperm)); - xs_write(ctx->xsh, t, libxl_sprintf(ctx, "%s/vm", dom_path), vm_path, strlen(vm_path)); + xs_write(ctx->xsh, t, libxl_sprintf(&gc, "%s/vm", dom_path), vm_path, strlen(vm_path)); rc = libxl_domain_rename(ctx, *domid, 0, info->name, t); - if (rc) return rc; + if (rc) { + libxl_free_all(&gc); + return rc; + } for (i = 0; i < ARRAY_SIZE(rw_paths); i++) { - char *path = libxl_sprintf(ctx, "%s/%s", dom_path, rw_paths[i]); + char *path = lib...
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...l_run_bootloader(libxl_ctx *ctx, - libxl_domain_build_info *info, - libxl_device_disk *disk, - uint32_t domid, - libxl_asyncop_how *ao_how); - - /* 0 means ERROR_ENOMEM, which we have logged */ - - int libxl_domain_rename(libxl_ctx *ctx, uint32_t domid, const char *old_name, const char *new_name); diff -r ac45608496cd -r cdb947baea10 tools/libxl/libxl_bootloader.c --- a/tools/libxl/libxl_bootloader.c Thu May 17 16:39:51 2012 +0100 +++ b/tools/libxl/libxl_bootloader.c Thu May 17 17:51:32 20...
2011 Jul 07
6
Xen unstable on NetBSD
...n it appears in.) xen/lowlevel/xl/xl.c: At top level: xen/lowlevel/xl/xl.c:359: error: expected '')'' before ''*'' token xen/lowlevel/xl/xl.c: In function ''pyxl_domain_rename'': xen/lowlevel/xl/xl.c:483: error: too few arguments to function ''libxl_domain_rename'' cc1: warnings being treated as errors xen/lowlevel/xl/xl.c: In function ''PyXl_init'': xen/lowlevel/xl/xl.c:681: warning: implicit declaration of function ''libxl_ctx_alloc'' error: command ''gcc'' failed with exit status 1 gmake[3]: *** [bu...
2012 Jul 04
53
[PATCH 00 of 10 v3] Automatic NUMA placement for xl
Hello, Third version of the NUMA placement series Xen 4.2. All the comments received during v2''s review have been addressed (more details in single changelogs). The most notable changes are the following: - the libxl_cpumap --> libxl_bitmap renaming has been rebased on top of the recent patches that allows us to allocate bitmaps of different sizes; - the heuristics for deciding