qemu-e2k/qga
Marc-André Lureau 781f2b3d1e qga: process_event() simplification
Simplify the code around qmp_dispatch():
- rely on qmp_dispatch/check_obj() for message checking
- have a single send_response() point
- constify send_response() argument

It changes a couple of error messages:

* When @req isn't a dictionary, from
    Invalid JSON syntax
  to
    QMP input must be a JSON object

* When @req lacks member "execute", from
    this feature or command is not currently supported
  to
    QMP input lacks member 'execute'

CC: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2019-03-18 10:48:06 -05:00
..
installer qga-win: install service with --retry-path set by default 2018-10-31 09:04:20 -05:00
vss-win32 qga-win: fix VSS build breakage due to unintended gnu99 C++ flag 2019-03-18 10:24:20 -05:00
channel-posix.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
channel-win32.c qga-win: report specific error when failing to open channel 2018-10-31 09:04:20 -05:00
channel.h
commands-posix.c qemu/queue.h: simplify reverse access to QTAILQ 2019-01-11 15:46:55 +01:00
commands-win32.c qga: Fix guest-get-fsinfo PCI address collection in Windows 2019-03-18 10:48:07 -05:00
commands.c glib: bump min required glib library version to 2.40 2018-06-29 12:22:28 +01:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h qga: Add multiple include guard to guest-agent-core.h 2018-11-09 07:55:13 -06:00
main.c qga: process_event() simplification 2019-03-18 10:48:06 -05:00
Makefile.objs qga: linux: report disk serial number 2018-10-31 09:04:20 -05:00
qapi-schema.json qga: update docs with systemd suspend support info 2019-03-18 10:24:20 -05:00
service-win32.c
service-win32.h qga-win: changing --retry-path option behavior 2018-10-31 09:04:20 -05:00
vss-win32.c qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00
vss-win32.h qga-win: add support for qmp_guest_fsfreeze_freeze_list 2018-10-30 16:48:49 -05:00