Skip to content

qapi-schema: support alternates with array type

Paolo Bonzini qemu-devel 1 version Applied

Status from this message: Queued for 7.1, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3qapi-schema: support alternates with array typescripts/qapi/expr.py scripts/qapi/schema.py tests/qapi-schema/alternate-array.err +2 more+23 -52 replies
2/3qapi-schema: test: add a qapi-schema-test for array alternatestests/qapi-schema/alternate-conflict-lists.err tests/qapi-schema/alternate-conflict-lists.json tests/qapi-schema/alternate-conflict-lists.out +1 more+9 -01 reply
3/3qapi-schema: test: add a unit test for parsing array alternatestests/qapi-schema/qapi-schema-test.json tests/qapi-schema/qapi-schema-test.out tests/unit/test-qobject-input-visitor.c+48 -01 reply

Reviews trailers per patch

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

PatchMarkus Armbruster
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] qapi-schema: support alternates with array type

As suggested in the review of the statistics subsystem.

Paolo Bonzini (3):
qapi-schema: support alternates with array type
qapi-schema: test: add a qapi-schema-test for array alternates
qapi-schema: test: add a unit test for parsing array alternates

 scripts/qapi/expr.py                          |  2 +-
 scripts/qapi/schema.py                        |  4 ++
 tests/qapi-schema/alternate-array.err         |  2 -
 tests/qapi-schema/alternate-array.json        |  2 -
 tests/qapi-schema/alternate-array.out         | 18 ++++++++
 .../qapi-schema/alternate-conflict-lists.err  |  2 +
 .../qapi-schema/alternate-conflict-lists.json |  6 +++
 .../qapi-schema/alternate-conflict-lists.out  |  0
 tests/qapi-schema/meson.build                 |  1 +
 tests/qapi-schema/qapi-schema-test.json       |  1 +
 tests/qapi-schema/qapi-schema-test.out        |  4 ++
 tests/unit/test-qobject-input-visitor.c       | 43 +++++++++++++++++++
 12 files changed, 79 insertions(+), 5 deletions(-)
 create mode 100644 tests/qapi-schema/alternate-conflict-lists.err
 create mode 100644 tests/qapi-schema/alternate-conflict-lists.json
 create mode 100644 tests/qapi-schema/alternate-conflict-lists.out
Signature · 1 line
2.35.1