diff options
| author | Markus Armbruster | 2021-09-17 16:31:32 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2021-09-27 08:23:25 +0200 |
| commit | 4e99f4b12c0e47898e8358a5c8fa54267bb16185 (patch) | |
| tree | a93792619d67b2345037d7862c1ac1d31535c31b /tests/qapi-schema/flat-union-array-branch.json | |
| parent | tests/qapi-schema: Purge simple unions from tests (diff) | |
| download | qemu-4e99f4b12c0e47898e8358a5c8fa54267bb16185.tar.gz qemu-4e99f4b12c0e47898e8358a5c8fa54267bb16185.tar.xz qemu-4e99f4b12c0e47898e8358a5c8fa54267bb16185.zip | |
qapi: Drop simple unions
Simple unions predate flat unions. Having both complicates the QAPI
schema language and the QAPI generator. We haven't been using simple
unions in new code for a long time, because they are less flexible and
somewhat awkward on the wire.
The previous commits eliminated simple union from the tree. Now drop
them from the QAPI schema language entirely, and update mentions of
"flat union" to just "union".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-22-armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/flat-union-array-branch.json')
| -rw-r--r-- | tests/qapi-schema/flat-union-array-branch.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qapi-schema/flat-union-array-branch.json b/tests/qapi-schema/flat-union-array-branch.json index 0b98820a8f..6dda7ec379 100644 --- a/tests/qapi-schema/flat-union-array-branch.json +++ b/tests/qapi-schema/flat-union-array-branch.json @@ -1,4 +1,4 @@ -# we require flat union branches to be a struct +# we require union branches to be a struct { 'enum': 'TestEnum', 'data': [ 'value1', 'value2' ] } { 'struct': 'Base', |
