Re: [PATCH 09/19] qapi/schema: assert info is present when necessary

2023-11-15 Thread Philippe Mathieu-Daudé
On 16/11/23 02:43, John Snow wrote: QAPISchemaInfo is sometimes defined as an Optional field because built-in definitions don't *have* a source definition. As a consequence, there are a few places where we need to assert that it's present because the root entity definition only suggests it's "Opt

[PATCH 09/19] qapi/schema: assert info is present when necessary

2023-11-15 Thread John Snow
QAPISchemaInfo is sometimes defined as an Optional field because built-in definitions don't *have* a source definition. As a consequence, there are a few places where we need to assert that it's present because the root entity definition only suggests it's "Optional". Signed-off-by: John Snow ---