unicorn/qemu/include/qapi
Markus Armbruster ac1a61af47
qapi: Make input visitors detect unvisited list tails
Fix the design flaw demonstrated in the previous commit: new method
check_list() lets input visitors report that unvisited input remains
for a list, exactly like check_struct() lets them report that
unvisited input remains for a struct or union.

Implement the method for the qobject input visitor (straightforward),
and the string input visitor (less so, due to the magic list syntax
there). The opts visitor's list magic is even more impenetrable, and
all I can do there today is a stub with a FIXME comment. No worse
than before.

Backports commit a4a1c70dc759e5b81627e96564f344ab43ea86eb from qemu
2018-03-02 12:21:04 -05:00
..
qmp qmp: Eliminate silly QERR_QMP_* macros 2018-03-02 11:28:17 -05:00
clone-visitor.h qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
dealloc-visitor.h qapi: Add new visit_free() function 2018-02-25 01:05:41 -05:00
error.h error: error_setg_errno(): errno gets preserved 2018-03-01 23:38:25 -05:00
qobject-input-visitor.h qapi: Drop unused non-strict qobject input visitor 2018-03-02 12:14:52 -05:00
qobject-output-visitor.h qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2018-02-27 08:05:33 -05:00
string-input-visitor.h string-input-visitor: Favor new visit_free() function 2018-02-25 01:08:04 -05:00
visitor-impl.h qapi: Make input visitors detect unvisited list tails 2018-03-02 12:21:04 -05:00
visitor.h qapi: Make input visitors detect unvisited list tails 2018-03-02 12:21:04 -05:00