diff options
author | John Snow <jsnow@redhat.com> | 2021-02-15 21:17:54 -0500 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2021-02-18 19:37:20 +0100 |
commit | 84bece7dd4ce7ca5a36bc996452ebc882f59ae54 (patch) | |
tree | f6a44f2f9049c6f57cb5dd58cfdcd49b32657eb9 /tests | |
parent | d70f5130f6779042f43d315a9bf2dd182e4708c7 (diff) | |
download | qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.zip qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.gz qemu-84bece7dd4ce7ca5a36bc996452ebc882f59ae54.tar.bz2 |
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 'tests')
0 files changed, 0 insertions, 0 deletions