diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-02-10 23:50:00 -0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-02-19 15:18:17 -0600 |
commit | 4fdc94b4062cb51c000c718bbffea3ac8c242b51 (patch) | |
tree | dbb035127cb189619336b7d83cabaad4e78d0734 /qemu-monitor.hx | |
parent | fe38a32acc6d1fb62ed74c351c1cc1d992aa8c50 (diff) |
Monitor: Convert do_info() to cmd_new_ret()
Note that this function only fails in QMP, in the user Monitor
it prints the help text instead.
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.hx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 5ae1969c78..7bfb8d0d5a 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -43,7 +43,7 @@ ETEXI .params = "[subcommand]", .help = "show various information about the system state", .user_print = monitor_user_noop, - .mhandler.cmd_new = do_info, + .cmd_new_ret = do_info, }, STEXI |