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 <arm...@redhat.com>
> ---
>  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 <ebl...@redhat.com>

-- 
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