diff options
author | Marc-André Lureau | 2016-09-12 11:19:10 +0200 |
---|---|---|
committer | Markus Armbruster | 2016-09-19 17:32:22 +0200 |
commit | 5c678ee8d9406b9baeec788530965483575db555 (patch) | |
tree | 6330334cac3e0a34238ca8de3baaf5fd9ef0d70c /trace-events | |
parent | tests: add a test to check invalid args (diff) | |
download | qemu-5c678ee8d9406b9baeec788530965483575db555.tar.gz qemu-5c678ee8d9406b9baeec788530965483575db555.tar.xz qemu-5c678ee8d9406b9baeec788530965483575db555.zip |
monitor: use qmp_dispatch()
Replace the old manual dispatch and validation code by the generic one
provided by qapi common code.
Note that it is now possible to call the following commands that used to
be disabled by compile-time conditionals:
- dump-skeys
- query-spice
- rtc-reset-reinjection
- query-gic-capabilities
Their fallback functions return an appropriate "feature disabled" error.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20160912091913.15831-16-marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trace-events b/trace-events index 616cc52378..8d59631ae8 100644 --- a/trace-events +++ b/trace-events @@ -98,7 +98,6 @@ qemu_co_mutex_unlock_return(void *mutex, void *self) "mutex %p self %p" # monitor.c handle_qmp_command(void *mon, const char *cmd_name) "mon %p cmd_name \"%s\"" -monitor_protocol_emitter(void *mon) "mon %p" monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p" monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p" monitor_protocol_event_queue(uint32_t event, void *qdict, uint64_t rate) "event=%d data=%p rate=%" PRId64 |