diff options
| author | Marc-André Lureau | 2016-09-12 11:18:59 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2016-09-19 17:32:21 +0200 |
| commit | d79bedfa404a02a4652cc8d964fa6dc9b7ec62f7 (patch) | |
| tree | 30ca96c386f6df802c319cd5ece9e5355157a847 /include/qapi | |
| parent | qapi-schema: add 'device_add' (diff) | |
| download | qemu-d79bedfa404a02a4652cc8d964fa6dc9b7ec62f7.tar.gz qemu-d79bedfa404a02a4652cc8d964fa6dc9b7ec62f7.tar.xz qemu-d79bedfa404a02a4652cc8d964fa6dc9b7ec62f7.zip | |
monitor: simplify invalid_qmp_mode()
handle_qmp_command() will switch to use qmp_dispatch(). It won't have a
pointer to the marshaller function anymore, but only the name of the
command to invoke. Simplify invalid_qmp_mode() so it can just be called
with the command name.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20160912091913.15831-5-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/qapi')
0 files changed, 0 insertions, 0 deletions
