unicorn/qemu/qapi
Markus Armbruster 09efe97bfd
qapi: Fix string input visitor regression for empty lists
Visiting a list when input is the empty string should result in an
empty list, not an error. Noticed when commit 3d089ce belatedly added
tests, but simply accepted as weird then. It's actually a regression:
broken in commit 74f24cb, v2.7.0. Fix it, and throw in another test
case for empty string.

Backports commit d2788227c6185c72d88ef3127e9fed41686f8e39 from qemu
2018-03-03 17:30:42 -05:00
..
common.json qapi: Add alias for ErrorClass 2018-02-19 20:38:51 -05:00
Makefile.objs qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2018-02-26 15:42:37 -05:00
qapi-clone-visitor.c qapi: rename *qmp-*-visitor* to *qobject-*-visitor* 2018-02-26 15:42:37 -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: Make input visitors detect unvisited list tails 2018-03-02 12:21:04 -05:00
qobject-input-visitor.c qapi: Factor out common part of qobject input visitor creation 2018-03-03 17:26:27 -05:00
qobject-output-visitor.c qapi: rename QmpOutputVisitor to QObjectOutputVisitor 2018-02-27 08:05:33 -05:00
string-input-visitor.c qapi: Fix string input visitor regression for empty lists 2018-03-03 17:30:42 -05:00