OSDN Git Service

qapi: Support downstream structs
authorEric Blake <eblake@redhat.com>
Thu, 14 May 2015 12:50:57 +0000 (06:50 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 14 May 2015 16:21:13 +0000 (18:21 +0200)
commit83a02706bb1fd31c93eab755de543dfe228682d4
tree2308a27e06b553170fe9b9d27beb5e3b9a0a67ed
parentfce384b8e5193e02421f6b2c2880f3684abcbdc0
qapi: Support downstream structs

Enhance the testsuite to cover downstream structs, including struct
members and base structs.  Update the generator to mangle the
struct 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