qemu-e2k/docs/devel
Anton Nefedov 800877bb16 qapi: allow empty branches in flat unions
It often happens that just a few discriminator values imply extra data in
a flat union. Existing checks did not make possible to leave other values
uncovered. Such cases had to be worked around by either stating a dummy
(empty) type or introducing another (subset) discriminator enumeration.

Both options create redundant entities in qapi files for little profit.

With this patch it is not necessary anymore to add designated union
fields for every possible value of a discriminator enumeration.

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Message-Id: <1529311206-76847-2-git-send-email-anton.nefedov@virtuozzo.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2018-06-22 16:33:46 +02:00
..
atomics.txt
blkdebug.txt
blkverify.txt
build-system.txt
loads-stores.rst bswap: Add new stn_*_p() and ldn_*_p() memory access functions 2018-06-15 15:23:34 +01:00
lockcnt.txt
memory.txt
migration.rst
multi-thread-tcg.txt tcg: remove tb_lock 2018-06-15 08:18:48 -10:00
multiple-iothreads.txt
qapi-code-gen.txt qapi: allow empty branches in flat unions 2018-06-22 16:33:46 +02:00
rcu.txt
stable-process.rst
testing.rst Add functional/acceptance tests infrastructure 2018-06-15 16:10:11 -03:00
tracing.txt
virtio-migration.txt
writing-qmp-commands.txt