Re: [Qemu-devel] [PATCH v1 1/2] io: move fd_is_socket() into common sockets code

2017-12-21 Thread Marc-André Lureau
Hi On Thu, Dec 21, 2017 at 2:27 PM, Daniel P. Berrange wrote: > The fd_is_socket() helper method is useful in a few places, so put it in > the common sockets code. > > Signed-off-by: Daniel P. Berrange Reviewed-by: Marc-André Lureau > --- > include/qemu/sockets.h | 1 + > io/channel-util.c

[Qemu-devel] [PATCH v1 1/2] io: move fd_is_socket() into common sockets code

2017-12-21 Thread Daniel P. Berrange
The fd_is_socket() helper method is useful in a few places, so put it in the common sockets code. Signed-off-by: Daniel P. Berrange --- include/qemu/sockets.h | 1 + io/channel-util.c | 13 - util/qemu-sockets.c| 13 + 3 files changed, 14 insertions(+), 13 delet