]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
qapi: Improve use of qmp/types.h
authorEric Blake <eblake@redhat.com>
Thu, 9 Jun 2016 16:48:32 +0000 (10:48 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 6 Jul 2016 08:52:03 +0000 (10:52 +0200)
commitc7eb39cbd4304ca55c760c0cb33ce235c457546c
tree4ef8b8a39c2c66db3409c0fe9d9565700cb557c6
parent791b7d2340cfafcac9af7864343cf23504d57804
qapi: Improve use of qmp/types.h

'qjson.h' is not a QObject subtype; include this file directly in
.c files that are using it, rather than abusing qmp/types.h for
that purpose.

Meanwhile, for files that include a list of individual QObject
subtypes, it's easier to just use qmp/types.h for that purpose.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1465490926-28625-2-git-send-email-eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
12 files changed:
hw/pci/pcie_aer.c
include/qapi/qmp/types.h
monitor.c
qapi/qmp-dispatch.c
qobject/json-parser.c
qobject/qjson.c
qobject/qobject.c
tests/check-qjson.c
tests/test-qmp-input-strict.c
tests/test-qmp-input-visitor.c
tests/test-qmp-output-visitor.c
tests/test-visitor-serialization.c