qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 24/25] qapi: Tighten check whether implicit object type al


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v5 24/25] qapi: Tighten check whether implicit object type already exists
Date: Fri, 15 Mar 2024 17:39:01 +0100
User-agent: Mozilla Thunderbird

On 15/3/24 16:23, Markus Armbruster wrote:
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>
---
  scripts/qapi/schema.py | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]