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
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
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
guest-agent-command-state.c
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
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
vss-win32.h