|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] libxl: correctly propagate errors from li
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1317223951 -3600
# Node ID ba1afb9bc1597bec2c2c54113ce1e39241dcf86e
# Parent 8863be49d31905a81dcbe82071a29fece38c9dc9
libxl: correctly propagate errors from libxl_domain_destroy
currently it return success e.g. even if xc_domain_destroy fails.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
diff -r 8863be49d319 -r ba1afb9bc159 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Wed Sep 28 16:31:11 2011 +0100
+++ b/tools/libxl/libxl.c Wed Sep 28 16:32:31 2011 +0100
@@ -785,7 +785,7 @@
rc = 0;
out:
libxl__free_all(&gc);
- return 0;
+ return rc;
}
int libxl_console_exec(libxl_ctx *ctx, uint32_t domid, int cons_num,
libxl_console_type type)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] libxl: correctly propagate errors from libxl_domain_destroy,
Xen patchbot-unstable <=
|
|
|
|
|