unicorn/qemu/scripts
Markus Armbruster 8d992dfa48
qapi: Fix to reject union command and event arguments
A command's or event's 'data' must be a struct type, given either as a
dictionary, or as struct type name.

Commit dd883c6 tightened the checking there, but not enough: we still
accept 'union'. Fix to reject it.

We may want to support union types there, but we'll have to extend
qapi-commands.py and qapi-events.py for it.

Backports commit 315932b5edb86597adafbd1faa2d29c46499d8c3 from qemu
2018-02-19 16:23:24 -05:00
..
create_config more cleanup qemu/configure 2017-01-19 14:11:54 +08:00
make_device_config.sh fix file perms 2015-08-28 21:05:38 -07:00
ordereddict.py import 2015-08-21 15:04:50 +08:00
qapi-event.py qapi: Drop unused and useless parameters and variables 2018-02-19 16:11:35 -05:00
qapi-types.py qapi: Document shortcoming with union 'data' branch 2018-02-19 16:21:22 -05:00
qapi-visit.py qapi-visit: Fix two name arguments passed to visitors 2018-02-19 16:20:10 -05:00
qapi.py qapi: Fix to reject union command and event arguments 2018-02-19 16:23:24 -05:00