qemu-e2k/util
Peter Maydell 8287fea321 util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram()
Currently you can specify whether you want a UDP chardev backend
to be IPv4 or IPv6 using the ipv4 or ipv6 options if you use the
QemuOpts parsing code in inet_dgram_opts(). However the QMP struct
parsing code in socket_dgram() doesn't provide this flexibility
(which in turn prevents us from converting the UDP backend handling
to the new style QAPI framework).

Use the existing inet_addr_to_opts() function to convert the
remote->inet address to option strings; this handles ipv4 and
ipv6 flags as well as host and port. (It will also convert any
'to' specification, which is harmless as it is ignored in this
context.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1409653457-27863-3-git-send-email-peter.maydell@linaro.org
2014-09-16 23:36:32 +01:00
..
acl.c
aes.c
bitmap.c
bitops.c
compatfd.c
crc32c.c
cutils.c
envlist.c
error.c
event_notifier-posix.c
event_notifier-win32.c
fifo8.c
getauxval.c util: Move general qemu_getauxval to util/getauxval.c 2014-09-09 13:13:05 +02:00
hbitmap.c
hexdump.c
host-utils.c util: Don't link host-utils.o if it's empty 2014-09-09 13:13:05 +02:00
iov.c dma-helpers: Fix too long qiov 2014-07-14 12:03:21 +02:00
Makefile.objs util: Don't link host-utils.o if it's empty 2014-09-09 13:13:05 +02:00
module.c module: Don't complain when a module is absent 2014-07-18 14:57:35 +02:00
notify.c
osdep.c
oslib-posix.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
oslib-win32.c block: Introduce qemu_try_blockalign() 2014-08-15 15:07:15 +02:00
path.c util/path: Use the GLib memory allocation routines 2014-08-24 13:16:32 +04:00
qemu-config.c
qemu-error.c
qemu-openpty.c
qemu-option.c qemu_opts_append: Play nicely with QemuOptsList's head 2014-06-26 15:53:52 +02:00
qemu-progress.c
qemu-sockets.c util/qemu-sockets.c: Support specifying IPv4 or IPv6 in socket_dgram() 2014-09-16 23:36:32 +01:00
qemu-thread-posix.c
qemu-thread-win32.c
qemu-timer-common.c
readline.c
rfifolock.c
throttle.c
unicode.c
uri.c