aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:45 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:57 -0500
commit5f79da0037497aaa43ca82574b0c4e034010b871 (patch)
tree370664cc35bf661b676296eb447d68d3cabbeee5 /qemu-monitor.hx
parent18f5a8bfc7919a382baa37252001ef82833e61d3 (diff)
monitor: Convert do_migrate() to QObject
Error is still directly printed, as we are only converting regular output. 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.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 1c605bd84b..8e7bfd4b44 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -726,7 +726,8 @@ ETEXI
.args_type = "detach:-d,uri:s",
.params = "[-d] uri",
.help = "migrate to URI (using -d to not wait for completion)",
- .mhandler.cmd = do_migrate,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_migrate,
},
STEXI