1
0
Fork 0
mirror of https://github.com/yuzu-emu/unicorn.git synced 2025-04-01 06:46:54 +00:00
unicorn/qemu/scripts
Eric Blake 2f30651c40
qapi: Use anonymous bases in QMP flat unions
Now that the generator supports it, we might as well use an
anonymous base rather than breaking out a single-use Base
structure, for all three of our current QMP flat unions.

Oddly enough, this change does not affect the resulting
introspection output (because we already inline the members of
a base type into an object, and had no independent use of the
base type reachable from a command).

The case_whitelist now has to list the name of an implicit
type; which is not too bad (consider it a feature if it makes
it harder for developers to make the whitelist grow :)

Backports commit 3666a97f78704b941c360dc917acb14c8774eca7 from qemu
2018-02-21 22:55:12 -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-event: Utilize implicit struct visits 2018-02-21 22:45:28 -05:00
qapi-types.py qapi: Allow anonymous base for flat union 2018-02-21 22:54:17 -05:00
qapi-visit.py qapi: Don't special-case simple union wrappers 2018-02-21 22:51:33 -05:00
qapi.py qapi: Use anonymous bases in QMP flat unions 2018-02-21 22:55:12 -05:00