unicorn/qemu/qapi
Paolo Bonzini 674805745b
qapi: change QmpInputVisitor to QSLIST
This saves a lot of memory compared to a statically-sized array,
or at least 24kb could be considered a lot on an Atari ST.
It also makes the code more similar to QmpOutputVisitor.

This removes the limit on the depth of a QObject that can be processed
into a QAPI tree. This is not a problem because QObjects can be
considered trusted; the text received on the QMP wire is untrusted
input, but the JSON parser already takes pains to limit the QObject tree
it creates. We don't need the QMP input visitor to limit it again.

Backports commit 3d344c2aabb7bc9b414321e3c52872901edebdda from qemu
2018-02-25 20:02:09 -05:00
..
common.json qapi: Add alias for ErrorClass 2018-02-19 20:38:51 -05:00
Makefile.objs qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
qapi-clone-visitor.c qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
qapi-dealloc-visitor.c qapi: Add new visit_free() function 2018-02-25 01:05:41 -05:00
qapi-visit-core.c qapi: Add new clone visitor 2018-02-25 01:34:12 -05:00
qmp-input-visitor.c qapi: change QmpInputVisitor to QSLIST 2018-02-25 20:02:09 -05:00
qmp-output-visitor.c qapi: change QmpOutputVisitor to QSLIST 2018-02-25 19:59:16 -05:00
string-input-visitor.c string-input-visitor: Favor new visit_free() function 2018-02-25 01:08:04 -05:00