diff options
-rw-r--r-- | monitor.c | 6 | ||||
-rw-r--r-- | qemu-monitor.hx | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -1292,7 +1292,11 @@ static void do_boot_set(Monitor *mon, const QDict *qdict) } } -static void do_system_reset(Monitor *mon, const QDict *qdict) +/** + * do_system_reset(): Issue a machine reset + */ +static void do_system_reset(Monitor *mon, const QDict *qdict, + QObject **ret_data) { qemu_system_reset_request(); } diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 8fcba2452e..b116b5ef80 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -467,7 +467,8 @@ ETEXI .args_type = "", .params = "", .help = "reset the system", - .mhandler.cmd = do_system_reset, + .user_print = monitor_user_noop, + .mhandler.cmd_new = do_system_reset, }, STEXI |