]> Git Repo - qemu.git/commit - io/dns-resolver.c
sockets: Limit SocketAddressLegacy to external interfaces
authorMarkus Armbruster <[email protected]>
Wed, 26 Apr 2017 07:36:41 +0000 (09:36 +0200)
committerMarkus Armbruster <[email protected]>
Tue, 9 May 2017 07:14:40 +0000 (09:14 +0200)
commitbd269ebc82fbaa5fe7ce5bc7c1770ac8acecd884
tree82ef0cd9da0812afc7021d5690c14f72e8e13177
parent62cf396b5d397948c5ac4d04d09596ca14f6c173
sockets: Limit SocketAddressLegacy to external interfaces

SocketAddressLegacy is a simple union, and simple unions are awkward:
they have their variant members wrapped in a "data" object on the
wire, and require additional indirections in C.  SocketAddress is the
equivalent flat union.  Convert all users of SocketAddressLegacy to
SocketAddress, except for existing external interfaces.

See also commit fce5d53..9445673 and 85a82e8..c5f1ae3.

Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <1493192202[email protected]>
Reviewed-by: Eric Blake <[email protected]>
[Minor editing accident fixed, commit message and a comment tweaked]

Signed-off-by: Markus Armbruster <[email protected]>
24 files changed:
block/nbd.c
block/sheepdog.c
blockdev-nbd.c
chardev/char-socket.c
chardev/char-udp.c
hmp.c
include/block/nbd.h
include/io/channel-socket.h
include/io/dns-resolver.h
include/io/task.h
include/qemu/sockets.h
io/channel-socket.c
io/dns-resolver.c
migration/socket.c
net/socket.c
qapi-schema.json
qemu-nbd.c
qga/channel-posix.c
qga/main.c
tests/test-char.c
tests/test-io-channel-socket.c
ui/vnc-auth-sasl.c
ui/vnc.c
util/qemu-sockets.c
This page took 0.030166 seconds and 4 git commands to generate.