Ian Campbell
2011-Sep-28 15:46 UTC
[Xen-devel] [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 @@ int libxl_domain_resume(libxl_ctx *ctx, } out: libxl__free_all(&gc); - return 0; + return rc; } /* _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Campbell
2011-Oct-13 09:28 UTC
[Xen-devel] [PATCH] libxl: correctly propagate errors from libxl_domain_resume
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1318495026 -3600 # Node ID bc9cab33404f16214945ab907ad17b9a6711b6ba # Parent ba246bb8a7f57e24937082e0d272fdb66def0fa6 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 ba246bb8a7f5 -r bc9cab33404f tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu Oct 13 09:37:06 2011 +0100 +++ b/tools/libxl/libxl.c Thu Oct 13 09:37:06 2011 +0100 @@ -261,7 +261,7 @@ int libxl_domain_resume(libxl_ctx *ctx, } out: libxl__free_all(&gc); - return 0; + return rc; } /* _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel