diff options
author | Markus Armbruster <armbru@redhat.com> | 2024-03-15 16:23:00 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-04-24 10:03:54 +0200 |
commit | 99e75d8c2a9fd13e8a2c0eb0718359b06445d38b (patch) | |
tree | d46d2f859f3e1ccf7929e13f46a8df92b1583a10 /scripts/python_qmp_updater.py | |
parent | 8d413dbd5d369edd4b16e341dafbdde843397660 (diff) | |
download | qemu-99e75d8c2a9fd13e8a2c0eb0718359b06445d38b.zip qemu-99e75d8c2a9fd13e8a2c0eb0718359b06445d38b.tar.gz qemu-99e75d8c2a9fd13e8a2c0eb0718359b06445d38b.tar.bz2 |
qapi: Tighten check whether implicit object type already exists
Entities with names starting with q_obj_ are implicit object types.
Therefore, QAPISchema._make_implicit_object_type()'s .lookup_entity()
can only return a QAPISchemaObjectType. Assert that.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240315152301.3621858-25-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'scripts/python_qmp_updater.py')
0 files changed, 0 insertions, 0 deletions