aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-02-10 23:49:57 -0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 15:18:17 -0600
commitb5d17adb932b16226c8073c3411cf5c93df22cb8 (patch)
treebaebfc69d449b18650772f09d3ad9c00f6b19fdd /qemu-monitor.hx
parent053801bc4950ec797ab8b47b4189dcdf2a1fc016 (diff)
Monitor: Convert do_migrate() to cmd_new_ret()
While there I'm also dropping a unneeded else clause (the last one in the function). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index e987cf100c..3a1f9bc518 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -773,7 +773,7 @@ ETEXI
"shared storage with incremental copy of disk "
"(base image shared between src and destination)",
.user_print = monitor_user_noop,
- .mhandler.cmd_new = do_migrate,
+ .cmd_new_ret = do_migrate,
},