monitor: Convert do_stop() to QObject

Patchworks-ID: 35343
Signed-off-by: Luiz Capitulino <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 51c7673..8fcba24 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -287,7 +287,8 @@
         .args_type  = "",
         .params     = "",
         .help       = "stop emulation",
-        .mhandler.cmd = do_stop,
+        .user_print = monitor_user_noop,
+        .mhandler.cmd_new = do_stop,
     },
 
 STEXI