summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/error.py
diff options
context:
space:
mode:
authorJohn Snow2021-02-16 03:17:54 +0100
committerMarkus Armbruster2021-02-18 19:37:20 +0100
commit84bece7dd4ce7ca5a36bc996452ebc882f59ae54 (patch)
treef6a44f2f9049c6f57cb5dd58cfdcd49b32657eb9 /scripts/qapi/error.py
parentqapi/introspect.py: use _make_tree for features nodes (diff)
downloadqemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.gz
qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.xz
qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.zip
qapi/introspect.py: add _gen_features helper
_make_tree might receive a dict (a SchemaInfo object) or some other type (usually, a string) for its obj parameter. Adding features information should arguably be performed by the caller at such a time when we know the type of the object and don't have to re-interrogate it. Signed-off-by: John Snow <jsnow@redhat.com> Message-Id: <20210216021809.134886-5-jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi/error.py')
0 files changed, 0 insertions, 0 deletions