diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2023-04-20 11:26:19 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2023-04-26 07:52:45 +0200 |
commit | a17dbc4b79a28ffb9511f192474ffefd88214cde (patch) | |
tree | 1a4fde556d2f94e3e908f4368ef9862d34340ef9 /tests/qapi-schema/meson.build | |
parent | 1e148b545fccc2a83a57269849de9a21e11c17da (diff) | |
download | qemu-a17dbc4b79a28ffb9511f192474ffefd88214cde.zip qemu-a17dbc4b79a28ffb9511f192474ffefd88214cde.tar.gz qemu-a17dbc4b79a28ffb9511f192474ffefd88214cde.tar.bz2 |
qapi: allow unions to contain further unions
This extends the QAPI schema validation to permit unions inside unions,
provided the checks for clashing fields pass.
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230420102619.348173-4-berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/meson.build')
-rw-r--r-- | tests/qapi-schema/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index a06515c..af085f7 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -197,6 +197,8 @@ schemas = [ 'union-invalid-data.json', 'union-invalid-discriminator.json', 'union-invalid-if-discriminator.json', + 'union-invalid-union-subfield.json', + 'union-invalid-union-subtype.json', 'union-no-base.json', 'union-optional-discriminator.json', 'union-string-discriminator.json', |