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 (26): 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 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/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 | 149 +++++-------- qapi/opts-visitor.c | 12 ++ qapi/qapi-visit-core.c | 8 + qapi/qmp-dispatch.c | 22 +- qapi/qobject-input-visitor.c | 219 ++++++++++++------- qapi/string-input-visitor.c | 97 +++++---- qapi/trace-events | 1 + qga/main.c | 2 +- qmp.c | 2 +- qom/qom-qobject.c | 4 +- scripts/qapi-commands.py | 7 +- 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 | 4 +- 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 +- 40 files changed, 1006 insertions(+), 710 deletions(-) create mode 100644 tests/qmp-test.c delete mode 100644 tests/test-qobject-input-strict.c -- 2.7.4