qapi: Make code-generating visitors use QAPIGen more
commit71b3f0459c460c9e16a47372ccddbfa6e2c7aadf
authorMarkus Armbruster <armbru@redhat.com>
Mon, 26 Feb 2018 19:50:08 +0000 (26 13:50 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 2 Mar 2018 19:14:10 +0000 (2 13:14 -0600)
treecd09eb26b84f76dbe839460bdb55a45e3f269dbc
parent834a3f349806e543db5c347feef5ef8de0a78559
qapi: Make code-generating visitors use QAPIGen more

The use of QAPIGen is rather shallow so far: most of the output
accumulation is not converted.  Take the next step: convert output
accumulation in the code-generating visitor classes.  Helper functions
outside these classes are not converted.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180211093607.27351-20-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
[eblake: rebase to earlier guardstart cleanup]
Signed-off-by: Eric Blake <eblake@redhat.com>
scripts/qapi/commands.py
scripts/qapi/common.py
scripts/qapi/doc.py
scripts/qapi/events.py
scripts/qapi/introspect.py
scripts/qapi/types.py
scripts/qapi/visit.py