qemu-devel
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]