Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Commit

Permalink
monitor: remove mhandler.cmd_new
Browse files Browse the repository at this point in the history
This is no longer necessary now that we aren't using middle mode
anymore.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20160912091913.15831-12-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
  • Loading branch information
elmarco authored and Markus Armbruster committed Sep 19, 2016
1 parent 9e812b6 commit 2b9e357
Show file tree
Hide file tree
Showing 4 changed files with 170 additions and 173 deletions.
4 changes: 2 additions & 2 deletions docs/writing-qmp-commands.txt
Expand Up @@ -335,7 +335,7 @@ we should add it to the hmp-commands.hx file:
.args_type = "message:s?",
.params = "hello-world [message]",
.help = "Print message to the standard output",
.mhandler.cmd = hmp_hello_world,
.cmd = hmp_hello_world,
},

STEXI
Expand Down Expand Up @@ -515,7 +515,7 @@ in the monitor.c file. The entry for the "info alarmclock" follows:
.args_type = "",
.params = "",
.help = "show information about the alarm clock",
.mhandler.cmd = hmp_info_alarm_clock,
.cmd = hmp_info_alarm_clock,
},

To test this, run qemu and type "info alarmclock" in the user monitor.
Expand Down

0 comments on commit 2b9e357

Please sign in to comment.