unicorn/qemu/qapi
Eric Blake 70a7b25c6c
qapi: Tighten qmp_input_end_list()
The only way that qmp_input_pop() will set errp is if a dictionary
was the most recent thing pushed. Since we don't have any
push(struct)/pop(list) or push(list)/pop(struct) mismatches (such
a mismatch is a programming bug), we therefore cannot set errp
inside qmp_input_end_list(). Make this obvious by
using &error_abort. A later patch will then remove the errp
parameter of qmp_input_pop(), but that will first require the
larger task of splitting visit_end_struct().

Backports commit bdd8e6b5d8a9def83d491a3f41c10424fc366258 from qemu
2018-02-19 12:48:56 -05:00
..
common.json import 2015-08-21 15:04:50 +08:00
Makefile.objs remove glib dependency by provide compatible replacements 2016-12-18 14:56:58 -08:00
qapi-dealloc-visitor.c qapi: Make all visitors supply uint64 callbacks 2018-02-19 11:59:22 -05:00
qapi-visit-core.c qapi: Make all visitors supply uint64 callbacks 2018-02-19 11:59:22 -05:00
qmp-input-visitor.c qapi: Tighten qmp_input_end_list() 2018-02-19 12:48:56 -05:00
qmp-output-visitor.c qapi: Make all visitors supply uint64 callbacks 2018-02-19 11:59:22 -05:00
string-input-visitor.c qapi: Make all visitors supply uint64 callbacks 2018-02-19 11:59:22 -05:00