monitor: Convert do_system_reset() to QObject

Patchworks-ID: 35347
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 8fcba24..b116b5e 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -467,7 +467,8 @@
         .args_type  = "",
         .params     = "",
         .help       = "reset the system",
-        .mhandler.cmd = do_system_reset,
+        .user_print = monitor_user_noop,
+        .mhandler.cmd_new = do_system_reset,
     },
 
 STEXI