Skip to content

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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 2b9e357

Please sign in to comment.