summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorPaolo Bonzini2022-03-21 17:42:41 +0100
committerMarkus Armbruster2022-04-21 10:11:25 +0200
commita58069494ded1282c36b7fca8d67bf487c160983 (patch)
treec6de12c9b556a9b22d3d2bad9d99c6057402daa5 /scripts/qapi/common.py
parentMerge tag 'pull-tcg-20220420' of https://gitlab.com/rth7680/qemu into staging (diff)
downloadqemu-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