|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] libxl: xc_domain_restore returns 0 on success, 1 on
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1282552884 -3600
# Node ID a91d8968269257dd4514d1c3c9994c3997897f91
# Parent 79f44934fa9dbf56d60a6d9fb76b74081eafe75f
libxl: xc_domain_restore returns 0 on success, 1 on error
Fix restore_common to handle it this way.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 79f44934fa9d -r a91d89682692 tools/libxl/libxl_dom.c
--- a/tools/libxl/libxl_dom.c Mon Aug 23 09:36:06 2010 +0100
+++ b/tools/libxl/libxl_dom.c Mon Aug 23 09:41:24 2010 +0100
@@ -260,7 +260,7 @@ int restore_common(libxl_ctx *ctx, uint3
state->store_port, &state->store_mfn,
state->console_port, &state->console_mfn,
info->hvm, info->u.hvm.pae, 0);
- if ( rc < 0 ) {
+ if ( rc ) {
XL_LOG_ERRNO(ctx, XL_LOG_ERROR, "restoring domain");
return ERROR_FAIL;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] libxl: xc_domain_restore returns 0 on success, 1 on error,
Ian Campbell <=
|
|
|
|
|