search for: libxl_domain_resume

Displaying 5 results from an estimated 5 matches for "libxl_domain_resume".

2012 Aug 15
2
[PATCH] libxl: make domain resume API asynchronous
...mpbell <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)) { - LIBXL__LOG_ERRNO(ctx, LIBXL__LOG_ERROR, -...
2011 Sep 28
1
[PATCH] libxl: correctly propagate errors from libxl_domain_resume
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1317224719 -3600 # Node ID f63f089585652829ec3816590292fde32ee8fbfe # Parent 5f25a693b738d2578e8803ba7ee49da1f5495a03 libxl: correctly propagate errors from libxl_domain_resume currently it return success no matter what. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> diff -r 5f25a693b738 -r f63f08958565 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Wed Sep 28 16:42:33 2011 +0100 +++ b/tools/libxl/libxl.c Wed Sep 28 16:45:19 2011 +0100 @@ -261,7 +261,7 @@ i...
2012 Apr 04
10
[PATCH 0 of 2] libxl: add libxl_domain_config_init
The following series implements libxl_domain_config_init as per the libxl API requirement that each type has an init function. The first function does this in an open coded manner and is proposed for Xen 4.2. The second function is RFC only since it moves the definition of this type into the IDL and makes the required infrastructure updates to enable this. I think this is more 4.3 material at
2013 Oct 21
36
[PATCH 0 of 5 V3] Remus/Libxl: Network buffering support
This patch series adds support for network buffering in the Remus codebase in libxl. Changes in V3: [1/5] Fix redundant checks in configure scripts (based on Ian Campbell''s suggestions) [2/5] Introduce locking in the script, during IFB setup. Add xenstore paths used by netbuf scripts to xenstore-paths.markdown [3/5] Hotplug scripts setup/teardown invocations are now
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...ret = build_post(ctx, domid, info, state, vments, localents); - if (ret) goto out; + if (ret) + goto out; dm_info->saved_state = NULL; if (info->hvm) { @@ -380,28 +395,36 @@ out: } errno = esave; + libxl_free_all(&gc); return ret; } int libxl_domain_resume(libxl_ctx *ctx, uint32_t domid) { + libxl_gc gc = LIBXL_INIT_GC(ctx); + int rc = 0; + if (is_hvm(ctx, domid)) { XL_LOG(ctx, XL_LOG_DEBUG, "Called domain_resume on " "non-cooperative hvm domain %u", domid); - return ERROR_NI; +...