Re: [Qemu-devel] [PATCH 07/12] chardev: split tcp_chr_wait_connected into two methods

2019-01-16 Thread Daniel P . Berrangé
On Tue, Jan 15, 2019 at 11:44:37PM +0400, Marc-André Lureau wrote: > Hi > > On Tue, Jan 15, 2019 at 6:53 PM Daniel P. Berrangé > wrote: > > > > The tcp_chr_wait_connected method can deal with either server or client > > chardevs, but some callers only care about one of these possibilities. > > T

Re: [Qemu-devel] [PATCH 07/12] chardev: split tcp_chr_wait_connected into two methods

2019-01-15 Thread Marc-André Lureau
Hi On Tue, Jan 15, 2019 at 6:53 PM Daniel P. Berrangé wrote: > > The tcp_chr_wait_connected method can deal with either server or client > chardevs, but some callers only care about one of these possibilities. > The tcp_chr_wait_connected method will also need some refactoring to > reliably deal

[Qemu-devel] [PATCH 07/12] chardev: split tcp_chr_wait_connected into two methods

2019-01-15 Thread Daniel P . Berrangé
The tcp_chr_wait_connected method can deal with either server or client chardevs, but some callers only care about one of these possibilities. The tcp_chr_wait_connected method will also need some refactoring to reliably deal with its primary goal of allowing a device frontend to wait for an establ