unicorn/qemu/scripts
Markus Armbruster 782a549898
qapi: De-duplicate enum code generation
Duplicated in commit 21cd70d. Yes, we can't import qapi-types, but
that's no excuse. Move the helpers from qapi-types.py to qapi.py, and
replace the duplicates in qapi-event.py.

The generated event enumeration type's lookup table becomes
const-correct (see commit 2e4450f), and uses explicit indexes instead
of relying on order (see commit 912ae9c).

Backports commit efd2eaa6c2992c214a13f102b6ddd4dca4697fb3 from qemu
2018-02-19 17:11:05 -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: De-duplicate enum code generation 2018-02-19 17:11:05 -05:00
qapi-types.py qapi: De-duplicate enum code generation 2018-02-19 17:11:05 -05:00
qapi-visit.py qapi-visit: Convert to QAPISchemaVisitor, fixing bugs 2018-02-19 17:04:59 -05:00
qapi.py qapi: De-duplicate enum code generation 2018-02-19 17:11:05 -05:00