projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d23babd
)
x86: fix XEN_DMOP_remote_shutdown return value
author
Ross Lagerwall
<ross.lagerwall@citrix.com>
Wed, 11 Oct 2017 15:49:48 +0000
(17:49 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 11 Oct 2017 15:49:48 +0000
(17:49 +0200)
Return 0 to indicate success rather than whatever rc was previously set
to (-EINVAL).
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/dm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/dm.c
b/xen/arch/x86/hvm/dm.c
index 82addeae5fcd6399f42ac6a61cc525998d43e1ca..32ade9541da9edd7dead09ae6c2cf0a6369753ae 100644
(file)
--- a/
xen/arch/x86/hvm/dm.c
+++ b/
xen/arch/x86/hvm/dm.c
@@
-636,6
+636,7
@@
static int dm_op(const struct dmop_args *op_args)
&op.u.remote_shutdown;
domain_shutdown(d, data->reason);
+ rc = 0;
break;
}