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

Paolo Bonzini posted 3 patches 2 years, 1 month ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220321164243.200569-1-pbonzini@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Michael Roth <michael.roth@amd.com>
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
[PATCH 0/3] qapi-schema: support alternates with array type
Posted by Paolo Bonzini 2 years, 1 month ago
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

-- 
2.35.1
Re: [PATCH 0/3] qapi-schema: support alternates with array type
Posted by Markus Armbruster 2 years ago
Paolo Bonzini <pbonzini@redhat.com> writes:

> As suggested in the review of the statistics subsystem.

Queued for 7.1, thanks!
Re: [PATCH 0/3] qapi-schema: support alternates with array type
Posted by Paolo Bonzini 2 years ago
On 4/4/22 14:13, Markus Armbruster wrote:
> Paolo Bonzini <pbonzini@redhat.com> writes:
> 
>> As suggested in the review of the statistics subsystem.
> 
> Queued for 7.1, thanks!

Thanks, I will follow up with the stats patches after these land.

Paolo