mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-10-25 22:17:11 +00:00
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 |
||
|---|---|---|
| .. | ||
| common.json | ||
| Makefile.objs | ||
| qapi-dealloc-visitor.c | ||
| qapi-visit-core.c | ||
| qmp-input-visitor.c | ||
| qmp-output-visitor.c | ||
| string-input-visitor.c | ||