projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317b6cc
)
libxl: xc_domain_restore returns 0 on success, 1 on error
author
Ian Campbell
<ian.campbell@citrix.com>
Tue, 24 Aug 2010 17:26:08 +0000
(18:26 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Tue, 24 Aug 2010 17:26:08 +0000
(18:26 +0100)
Fix restore_common to handle it this way.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_dom.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_dom.c
b/tools/libxl/libxl_dom.c
index 16918580d0e04715e39f982bd9bda5cc2975eb44..a07bea755b44044794e4a6313e2e8ae335603b4d 100644
(file)
--- a/
tools/libxl/libxl_dom.c
+++ b/
tools/libxl/libxl_dom.c
@@
-260,7
+260,7
@@
int restore_common(libxl_ctx *ctx, uint32_t domid,
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;
}