diff options
author | Paolo Bonzini | 2022-03-21 17:42:41 +0100 |
---|---|---|
committer | Markus Armbruster | 2022-04-21 10:11:25 +0200 |
commit | a58069494ded1282c36b7fca8d67bf487c160983 (patch) | |
tree | c6de12c9b556a9b22d3d2bad9d99c6057402daa5 /scripts/qapi/common.py | |
parent | Merge tag 'pull-tcg-20220420' of https://gitlab.com/rth7680/qemu into staging (diff) | |
download | qemu-a58069494ded1282c36b7fca8d67bf487c160983.tar.gz qemu-a58069494ded1282c36b7fca8d67bf487c160983.tar.xz qemu-a58069494ded1282c36b7fca8d67bf487c160983.zip |
qapi-schema: support alternates with array type
Detect array types as alternate branches, and turn the JSON list into
a QAPISchemaArrayType. Array types in an alternate are represented with
QTYPE_QLIST in the type field.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220321164243.200569-2-pbonzini@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions