[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] sockets: remove obsolete code that updated list
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH] sockets: remove obsolete code that updated listen address |
Date: |
Tue, 12 Dec 2017 22:04:44 +0800 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Tue, Dec 12, 2017 at 11:12:19AM +0000, Daniel P. Berrange wrote:
> When listening on unix/tcp sockets there was optional code that would update
> the original SocketAddress struct with the info about the actual address that
> was listened on. Since the conversion of everything to QIOChannelSocket, no
> remaining caller made use of this feature. It has been replaced with the
> ability
> to query the listen address after the fact using the function
> qio_channel_socket_get_local_address. This is a better model when the input
> address can result in listening on multiple distinct sockets.
>
> Signed-off-by: Daniel P. Berrange <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
--
Peter Xu