projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ca0ed2
)
libxl: correctly propagate errors from libxl_domain_destroy
author
Ian Campbell
<ian.campbell@citrix.com>
Wed, 28 Sep 2011 15:32:31 +0000
(16:32 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Wed, 28 Sep 2011 15:32:31 +0000
(16:32 +0100)
currently it return success e.g. even if xc_domain_destroy fails.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl.c
b/tools/libxl/libxl.c
index 426058f4baeae028f0c468198b0294ed49027214..36ad1f1a97e23f74745551856bd82ddd3011b1a8 100644
(file)
--- a/
tools/libxl/libxl.c
+++ b/
tools/libxl/libxl.c
@@
-785,7
+785,7
@@
int libxl_domain_destroy(libxl_ctx *ctx, uint32_t domid, int force)
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)