qemu-e2k/chardev
Markus Armbruster 935a867c87 qapi: Convert simple union SocketAddressLegacy 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 SocketAddressLegacy
to an equivalent flat one, with existing enum SocketAddressType
replacing implicit enum type SocketAddressLegacyKind.  Adds some
boilerplate to the schema, which is a bit ugly, but a lot easier to
maintain than the simple union feature.

Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210917143134.412106-9-armbru@redhat.com>
2021-09-27 08:23:25 +02:00
..
baum.c modules: add chardev module annotations 2021-07-09 18:20:27 +02:00
char-console.c
char-fd.c chardev: fix qemu_chr_open_fd() with fd_in==fd_out 2021-08-05 16:15:33 +04:00
char-fe.c chardev: mark explicitly first argument as poisoned 2021-08-05 16:15:33 +04:00
char-file.c
char-io.c
char-mux.c chardev: remove needless class method 2021-09-14 16:53:55 +04:00
char-null.c
char-parallel.c
char-pipe.c
char-pty.c
char-ringbuf.c
char-serial.c
char-socket.c qapi: Convert simple union SocketAddressLegacy to flat one 2021-09-27 08:23:25 +02:00
char-stdio.c
char-udp.c qapi: Convert simple union SocketAddressLegacy to flat one 2021-09-27 08:23:25 +02:00
char-win-stdio.c
char-win.c
char.c chardev: Propagate error from logfile opening 2021-09-14 16:52:33 +04:00
chardev-internal.h
meson.build
msmouse.c
spice.c chardev-spice: add missing module_obj directive 2021-07-22 14:44:47 +02:00
testdev.c
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h
wctablet.c