qemu-e2k/qapi
Markus Armbruster b6fd5434de qapi: Convert simple union InputEvent to flat one
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.

To prepare for their removal, convert simple union InputEvent to an
equivalent flat one.  Adds some boilerplate to the schema, which is a
bit ugly, but a lot easier to maintain than the simple union feature.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-5-armbru@redhat.com>
2021-09-25 06:55:54 +02:00
..
acpi.json
audio.json
authz.json
block-core.json qapi: publish copy-before-write filter 2021-09-01 14:03:47 +02:00
block-export.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
block.json
char.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
common.json
compat.json
control.json
crypto.json
dump.json
error.json
introspect.json
job.json
machine-target.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
machine.json qapi/machine.json: Remove zero value reference from SMPConfiguration documentation 2021-08-17 16:26:47 +01:00
meson.build qapi: introduce forwarding visitor 2021-07-23 18:17:17 +02:00
migration.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
misc-target.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
misc.json
net.json
opts-visitor.c
pci.json
pragma.json
qapi-clone-visitor.c
qapi-dealloc-visitor.c
qapi-forward-visitor.c qapi: introduce forwarding visitor 2021-07-23 18:17:17 +02:00
qapi-schema.json
qapi-util.c
qapi-visit-core.c
qdev.json
qmp-dispatch.c
qmp-event.c
qmp-registry.c
qobject-input-visitor.c
qobject-output-visitor.c
qom.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
rdma.json
replay.json
rocker.json
run-state.json
sockets.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
string-input-visitor.c
string-output-visitor.c
tpm.json qapi: make 'if' condition strings simple identifiers 2021-08-26 13:53:56 +02:00
trace-events
trace.h
trace.json qapi: Set boolean value correctly in examples 2021-09-03 17:03:05 +02:00
transaction.json
ui.json qapi: Convert simple union InputEvent to flat one 2021-09-25 06:55:54 +02:00
yank.json