[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/7] sockets: Prepare inet_parse() for flattened
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 2/7] sockets: Prepare inet_parse() for flattened SocketAddress |
Date: |
Wed, 26 Apr 2017 10:28:05 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 |
On 04/26/2017 02:36 AM, Markus Armbruster wrote:
> 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 <address@hidden>
> ---
> block/nbd.c | 8 ++++----
> include/qemu/sockets.h | 2 +-
> migration/rdma.c | 4 ++--
> migration/socket.c | 5 +++--
> util/qemu-sockets.c | 30 ++++++++++++------------------
> 5 files changed, 22 insertions(+), 27 deletions(-)
>
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 0/7] sockets: Flatten SocketAddress except in external interfaces, Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 3/7] qapi: New QAPI_CLONE_MEMBERS(), Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 7/7] socket: Delete unused helper socket_address_crumple(), Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 1/7] sockets: Prepare vsock_parse() for flattened SocketAddress, Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 2/7] sockets: Prepare inet_parse() for flattened SocketAddress, Markus Armbruster, 2017/04/26
- Re: [Qemu-devel] [PATCH 2/7] sockets: Prepare inet_parse() for flattened SocketAddress,
Eric Blake <=
- [Qemu-devel] [PATCH 5/7] sockets: Rename SocketAddressFlat to SocketAddress, Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 4/7] sockets: Rename SocketAddress to SocketAddressLegacy, Markus Armbruster, 2017/04/26
- [Qemu-devel] [PATCH 6/7] sockets: Limit SocketAddressLegacy except to external interfaces, Markus Armbruster, 2017/04/26
- Re: [Qemu-devel] [PATCH 0/7] sockets: Flatten SocketAddress except in external interfaces, Markus Armbruster, 2017/04/28