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
channel.h
commands-posix.c
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
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
vss-win32.c
vss-win32.h