qapi: Mostly generator cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 5 repliesIn review
Changes since RFC from the cover letter
* Straightforward rebase, R-by retained
* PATCH 06: address Eric's review, R-by dropped
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | tests: Add missing dependencies on $(qapi-py)tests/ | +4 | 0 replies | |
| 2/9 | qapi: qapi-event.py option -b does nothing, drop itMakefile scripts/ | +3 | 0 replies | |
| 3/9 | qapi: qapi-commands.py option --type is unused, drop itscripts/ | +31 | 0 replies | |
| 4/9 | qapi: Factor parse_command_line() out of the generatorsscripts/ scripts/ scripts/ +2 more | +52 | 0 replies | |
| 5/9 | qapi: Fix generators to report command line errors decentlyscripts/ | +5 | 2 replies | |
| 6/9 | qapi: Turn generators' mandatory option -i into an argumentMakefile docs/ scripts/ +1 more | +21 | 1 reply | |
| 7/9 | qapi: Factor open_output(), close_output() out of generatorsscripts/ scripts/ scripts/ +2 more | +172 | 0 replies | |
| 8/9 | qapi: Drop pointless flush() before close()scripts/ | +0 | 0 replies | |
| 9/9 | qapi: Inline gen_command_decl_prologue(), gen_command_def_prologue()scripts/ | +24 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/9] qapi: Mostly generator cleanups
You've seen these patches before, in "[PATCH RFC 00/19] qapi: QMP introspection". Eric has pulled a few into "[PATCH v2 0/3] parse 'null' literal in QMP" and "[PATCH v3 00/14] Fix qapi mangling of downstream names". This series has the remaining ones, except for "[PATCH RFC 19/19] qapi: New QMP command query-schema for QMP schema introspection", which isn't ready.
Based on Luiz's latest pull request plus Eric's "Fix qapi mangling of downstream names".
Changes since RFC:
* Straightforward rebase, R-by retained
* PATCH 06: address Eric's review, R-by dropped
Markus Armbruster (9):
tests: Add missing dependencies on $(qapi-py)
qapi: qapi-event.py option -b does nothing, drop it
qapi: qapi-commands.py option --type is unused, drop it
qapi: Factor parse_command_line() out of the generators
qapi: Fix generators to report command line errors decently
qapi: Turn generators' mandatory option -i into an argument
qapi: Factor open_output(), close_output() out of generators
qapi: Drop pointless flush() before close()
qapi: Inline gen_command_decl_prologue(), gen_command_def_prologue()
Makefile | 14 ++-- docs/qapi-code-gen.txt | 10 +-- scripts/qapi-commands.py | 185 +++++++++++++++-------------------------------- scripts/qapi-event.py | 120 +++++++----------------------- scripts/qapi-types.py | 117 ++++++++---------------------- scripts/qapi-visit.py | 136 ++++++++++------------------------ scripts/qapi.py | 88 ++++++++++++++++++++++ tests/Makefile | 16 ++-- 8 files changed, 260 insertions(+), 426 deletions(-)
Signature · 1 line
1.9.3