]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
monitor: use qmp_dispatch()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 12 Sep 2016 09:19:10 +0000 (13:19 +0400)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 19 Sep 2016 15:32:22 +0000 (17:32 +0200)
commit5c678ee8d9406b9baeec788530965483575db555
tree6330334cac3e0a34238ca8de3baaf5fd9ef0d70c
parent4bdadd86718c901fc1a512a7e3e0cbe7518cf277
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>
monitor.c
trace-events