qapi: Support downstream simple unions
authorEric Blake <eblake@redhat.com>
Thu, 14 May 2015 12:50:58 +0000 (06:50 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:21:17 +0000 (18:21 +0200)
commitbb33729043ceda56b4068db13bdc17786ebd0ed0
treea51b7255465b493421a475999946eb5d50ca6ab4
parent83a02706bb1fd31c93eab755de543dfe228682d4
qapi: Support downstream simple unions

Enhance the testsuite to cover downstream simple unions, including
when a union branch is a downstream name.  Update the generator to
mangle the union names 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