convert udp chardev to QemuOpts.
commit7e1b35b44c26fb0ede72613608e1a6fddabfac75
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 10 Sep 2009 08:58:51 +0000 (10 10:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 11 Sep 2009 15:19:49 +0000 (11 10:19 -0500)
treefd53be32c275267a446ba3e6c5fdfb49f9e57438
parent7591c5c19951def341139c3874bdc7289f9813d1
convert udp chardev to QemuOpts.

While being at it: create a new inet_dgram_opts() function for udp setup,
so udp can handle IPv6 now.

new cmd line syntax:
    -chardev udp,id=name,host=remotehost,port=remoteport,\
localaddr=bindaddr,localport=bindport

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c
qemu-config.c
qemu-sockets.c
qemu_socket.h