[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 00/28] qapi: QMP dispatch and input visitor work
From: |
Markus Armbruster |
Subject: |
[Qemu-devel] [PATCH v4 00/28] qapi: QMP dispatch and input visitor work |
Date: |
Fri, 3 Mar 2017 13:32:20 +0100 |
v4:
* PATCH 05+06: New
* PATCH 07: Messing with the list of commands breaks when multiple
monitors race against each other, use two separate lists instead
(R-by dropped)
v3:
* PATCH 12+18+19: Commit message tidied up [Eric]
* PATCH 17: Spurious whitespace change dropped [Eric]
* PATCH 22: Missing visit_end_list() fixed [Eric]
* PATCH 23: Misplaced visit_end_list() fixed, unwanted test change
dropped [Eric]
v2:
* PATCH 19-20+22+24-25: New
* PATCH 03: Update MAINTAINERS new file
* PATCH 21+23: New test_visitor_in_fail_list_nested(), string visitor
patch tweaked, comments polished
* PATCH 23: full_name() bugs fixed
Markus Armbruster (28):
qga: Fix crash on non-dictionary QMP argument
libqtest: Work around a "QMP wants a newline" bug
qmp-test: New, covering basic QMP protocol
qmp: Dumb down how we run QMP command registration
qapi: Support multiple command registries per program
qapi-introspect: Mangle --prefix argument properly for C
qmp: Clean up how we enforce capability negotiation
qmp: Drop duplicated QMP command object checks
qmp: Eliminate silly QERR_QMP_* macros
qmp: Improve QMP dispatch error messages
qapi: Improve a QObject input visitor error message
qapi: Clean up after commit 3d344c2
qapi: Make QObject input visitor set *list reliably
qapi: Improve qobject input visitor error reporting
qapi: Drop string input visitor method optional()
qapi: Make string input and opts visitor require non-null input
qom: Make object_property_set_qobject()'s input visitor strict
test-qobject-input-visitor: Use strict visitor
qapi: Drop unused non-strict qobject input visitor
tests-qobject-input-strict: Merge into test-qobject-input-visitor
test-string-input-visitor: Tear down existing test automatically
test-string-input-visitor: Improve list coverage
tests: Cover partial input visit of list
test-qobject-input-visitor: Cover missing nested struct member
qapi: Make input visitors detect unvisited list tails
tests: Cover input visit beyond end of list
qapi: Fix object input visit beyond end of list
qapi: Improve qobject visitor documentation
MAINTAINERS | 1 +
block/nbd.c | 2 +-
block/nfs.c | 2 +-
block/ssh.c | 2 +-
docs/qapi-code-gen.txt | 2 +-
hw/ppc/spapr_drc.c | 5 +
include/monitor/monitor.h | 1 +
include/qapi/qmp/dispatch.h | 22 +-
include/qapi/qmp/qerror.h | 9 -
include/qapi/qobject-input-visitor.h | 40 +++-
include/qapi/qobject-output-visitor.h | 35 +++-
include/qapi/visitor-impl.h | 7 +-
include/qapi/visitor.h | 19 +-
include/qemu/module.h | 2 -
monitor.c | 178 ++++++----------
qapi/opts-visitor.c | 12 ++
qapi/qapi-visit-core.c | 8 +
qapi/qmp-dispatch.c | 39 +++-
qapi/qmp-registry.c | 37 ++--
qapi/qobject-input-visitor.c | 219 ++++++++++++-------
qapi/string-input-visitor.c | 97 +++++----
qapi/trace-events | 1 +
qga/commands.c | 2 +-
qga/guest-agent-core.h | 2 +
qga/main.c | 19 +-
qmp.c | 2 +-
qom/qom-qobject.c | 4 +-
scripts/qapi-commands.py | 19 +-
scripts/qapi-introspect.py | 2 +-
scripts/qapi-visit.py | 3 +
target/s390x/cpu_models.c | 2 +-
tests/Makefile.include | 9 +-
tests/check-qnull.c | 2 +-
tests/libqtest.c | 29 ++-
tests/libqtest.h | 8 +
tests/qmp-test.c | 139 +++++++++++++
tests/test-opts-visitor.c | 80 +++++++
tests/test-qga.c | 2 +-
tests/test-qmp-commands.c | 14 +-
tests/test-qobject-input-strict.c | 381 ----------------------------------
tests/test-qobject-input-visitor.c | 260 ++++++++++++++++++++++-
tests/test-string-input-visitor.c | 142 ++++++++++---
tests/test-visitor-serialization.c | 2 +-
trace-events | 1 -
vl.c | 2 +-
45 files changed, 1093 insertions(+), 773 deletions(-)
create mode 100644 tests/qmp-test.c
delete mode 100644 tests/test-qobject-input-strict.c
--
2.7.4
- [Qemu-devel] [PATCH v4 00/28] qapi: QMP dispatch and input visitor work,
Markus Armbruster <=
[Qemu-devel] [PATCH v4 13/28] qapi: Make QObject input visitor set *list reliably, Markus Armbruster, 2017/03/03
[Qemu-devel] [PATCH v4 03/28] qmp-test: New, covering basic QMP protocol, Markus Armbruster, 2017/03/03