From 5f79da0037497aaa43ca82574b0c4e034010b871 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 16 Oct 2009 12:23:45 -0300 Subject: monitor: Convert do_migrate() to QObject Error is still directly printed, as we are only converting regular output. Signed-off-by: Luiz Capitulino Signed-off-by: Anthony Liguori --- qemu-monitor.hx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qemu-monitor.hx') 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 -- cgit v1.2.3