qapi: Support downstream enums
authorEric Blake <eblake@redhat.com>
Thu, 14 May 2015 12:50:56 +0000 (06:50 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:21:09 +0000 (18:21 +0200)
commitfce384b8e5193e02421f6b2c2880f3684abcbdc0
tree280923134e2ea8e0ee612a2184cce364b57ecfbf
parentc6405b54b7b09a876f2f2fba2aa6f8ac87189cb9
qapi: Support downstream enums

Enhance the testsuite to cover a downstream enum type and enum
string.  Update the generator to mangle the enum name in the
appropriate places.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
scripts/qapi-types.py
scripts/qapi-visit.py
tests/qapi-schema/qapi-schema-test.json
tests/qapi-schema/qapi-schema-test.out