unicorn/qemu/scripts
Eric Blake 4294815ee3
qapi: Reuse code for flat union base validation
Rather than open-code the check for a valid base type, we
should reuse the common functionality. This allows for
consistent error messages, and also makes it easier for a
later patch to turn on support for inline anonymous base
structures.

Test flat-union-inline is updated to test only one feature
(anonymous branch dictionaries), which can be implemented
independently (test flat-union-bad-base already covers the
idea of an anonymous base dictionary).

Backports commit 376863ef4895ae709aadb6f26365a5973310ef09 from qemu
2018-02-19 18:14:53 -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: Convert to QAPISchemaVisitor, fixing data with base 2018-02-19 17:16:31 -05:00
qapi-types.py qapi: Introduce a first class 'any' type 2018-02-19 17:46:58 -05:00
qapi-visit.py qapi-visit: Rearrange code a bit 2018-02-19 17:37:09 -05:00
qapi.py qapi: Reuse code for flat union base validation 2018-02-19 18:14:53 -05:00