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

2017-12-22 Thread Daniel P. Berrange
On Fri, Dec 22, 2017 at 09:55:29AM +0100, Markus Armbruster wrote: > Eric Blake writes: > > > On 12/21/2017 09:59 AM, 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

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

2017-12-22 Thread Markus Armbruster
Eric Blake writes: > On 12/21/2017 09:59 AM, 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 >> --- >> include/qemu/sockets.h | 1 + >> io/channel-util.c | 13 --

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

2017-12-21 Thread Eric Blake
On 12/21/2017 09:59 AM, 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 --- include/qemu/sockets.h | 1 + io/channel-util.c | 13 - util/qemu-sockets.c| 13 +++

[Qemu-devel] [PATCH v2 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