Skip to content

qapi: Miscellaneous fixes and cleanups

Markus Armbruster qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest15 patches 1 replyIn review
  2. v116 patches 19 repliesSuperseded

Changes in v2 from the cover letter

* Trivial rebase, R-bys retained
* PATCH 04 squashed into 07

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15MAINTAINERS: Fix up QAPI and QAPI schema file patternsMAINTAINERS+4 -00 replies
2/15qapi: Drop bogus command from docsdocs/qapi-code-gen.txt+0 -20 replies
3/15qapi: Eliminate superfluous QAPISchema attribute input_dirscripts/qapi.py+2 -20 replies
4/15qapi: Improve a couple of confusing variable namesscripts/qapi.py+23 -220 replies
5/15qapi: Fix file name in error messages for included filesscripts/qapi.py tests/qapi-schema/include-cycle.err tests/qapi-schema/include-nested-err.err+6 -70 replies
6/15qapi: Simplify inclusion cycle detectionscripts/qapi.py+8 -100 replies
7/15qapi: Fix to reject stray 't', 'f' and 'n'scripts/qapi.py+12 -141 reply
8/15qapi: Move exprs checking from parse_schema() to check_exprs()scripts/qapi.py+66 -760 replies
9/15qapi: Better separate the different kinds of helpersscripts/qapi.py+74 -540 replies
10/15tests/qapi-schema: New flat union array branch test casetests/Makefile tests/qapi-schema/flat-union-array-branch.err tests/qapi-schema/flat-union-array-branch.exit +2 more+25 -10 replies
11/15qapi: Catch and reject flat union branch of array typescripts/qapi.py tests/qapi-schema/flat-union-array-branch.err+2 -110 replies
12/15qapi-types: Don't filter out expressions with 'gen'scripts/qapi-types.py+0 -10 replies
13/15qapi-types: Drop unused members parametersscripts/qapi-types.py+7 -70 replies
14/15qapi-types: Split generate_fwd_builtin() off generate_fwd_struct()scripts/qapi-types.py+6 -60 replies
15/15qapi-types: Bury code dead since commit 6b5abc7scripts/qapi-types.py+2 -60 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchEric Blake
1/15R-b
2/15R-b
3/15R-b
4/15R-b
5/15R-b
6/15R-b
7/15R-b
8/15R-b
9/15R-b
10/15R-b
11/15R-b
12/15R-b
13/15R-b
14/15R-b
15/15R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/15] qapi: Miscellaneous fixes and cleanups

Output generated for correct input not changed.

v2:
* Trivial rebase, R-bys retained
* PATCH 04 squashed into 07

Markus Armbruster (15):
MAINTAINERS: Fix up QAPI and QAPI schema file patterns
qapi: Drop bogus command from docs
qapi: Eliminate superfluous QAPISchema attribute input_dir
qapi: Improve a couple of confusing variable names
qapi: Fix file name in error messages for included files
qapi: Simplify inclusion cycle detection
qapi: Fix to reject stray 't', 'f' and 'n'
qapi: Move exprs checking from parse_schema() to check_exprs()
qapi: Better separate the different kinds of helpers tests/qapi-schema: New flat union array branch test case
qapi: Catch and reject flat union branch of array type
qapi-types: Don't filter out expressions with 'gen'
qapi-types: Drop unused members parameters
qapi-types: Split generate_fwd_builtin() off generate_fwd_struct()
qapi-types: Bury code dead since commit 6b5abc7

 MAINTAINERS                                    |   4 +
 docs/qapi-code-gen.txt                         |   2 -
 scripts/qapi-types.py                          |  31 +--
 scripts/qapi.py                                | 346 +++++++++++++------------
 tests/Makefile                                 |   3 +-
 tests/qapi-schema/flat-union-array-branch.err  |   1 +
 tests/qapi-schema/flat-union-array-branch.exit |   1 +
 tests/qapi-schema/flat-union-array-branch.json |  12 +
 tests/qapi-schema/flat-union-array-branch.out  |   0
 tests/qapi-schema/include-cycle.err            |   4 +-
 tests/qapi-schema/include-nested-err.err       |   2 +-
 11 files changed, 212 insertions(+), 194 deletions(-)
 create mode 100644 tests/qapi-schema/flat-union-array-branch.err
 create mode 100644 tests/qapi-schema/flat-union-array-branch.exit
 create mode 100644 tests/qapi-schema/flat-union-array-branch.json
 create mode 100644 tests/qapi-schema/flat-union-array-branch.out
Signature · 1 line
1.9.3