On 02/11/2018 03:35 AM, Markus Armbruster wrote:
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 <[email protected]>
---
  scripts/qapi/commands.py   | 71 ++++++++++++++++------------------------
  scripts/qapi/common.py     | 13 ++++++++
  scripts/qapi/doc.py        | 74 ++++++++++++++++++++----------------------
  scripts/qapi/events.py     | 55 ++++++++++++-------------------
  scripts/qapi/introspect.py | 56 +++++++++++++-------------------
  scripts/qapi/types.py      | 81 +++++++++++++++++++---------------------------
  scripts/qapi/visit.py      | 80 +++++++++++++++++++--------------------------
  7 files changed, 188 insertions(+), 242 deletions(-)


Reviewed-by: Eric Blake <[email protected]>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Reply via email to