]> git.proxmox.com Git - mirror_qemu.git/commit - migration/rdma.c
sockets: Prepare inet_parse() for flattened SocketAddress
authorMarkus Armbruster <armbru@redhat.com>
Wed, 26 Apr 2017 07:36:37 +0000 (09:36 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 9 May 2017 07:14:40 +0000 (09:14 +0200)
commit0785bd7a7c58ffaf533f484cb0661671a64ecffd
treec2edcdd19a9e8075bc1536175bcecf40feac2090
parent4db5c619a2f03c2ee25105b4f6359075c825aecc
sockets: Prepare inet_parse() for flattened SocketAddress

I'm going to flatten SocketAddress: rename SocketAddress to
SocketAddressLegacy, SocketAddressFlat to SocketAddress, eliminate
SocketAddressLegacy except in external interfaces.

inet_parse() returns a newly allocated InetSocketAddress.  Lift the
allocation from inet_parse() into its caller socket_parse() to prepare
for flattening SocketAddress.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1493192202-3184-3-git-send-email-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Straightforward rebase]
block/nbd.c
include/qemu/sockets.h
migration/rdma.c
migration/socket.c
util/qemu-sockets.c