Re: [Qemu-devel] [PATCH 1/3] util: remove the obsolete non-blocking connect

2016-07-28 Thread Daniel P. Berrange
On Thu, Jul 28, 2016 at 03:39:29PM +0800, Cao jin wrote: > The non-blocking connect mechanism is obsolete, and it doesn't work well > in inet connection, because it will call getaddrinfo first and getaddrinfo > will blocks on DNS lookups. Since commit e65c67e4 & d984464e, the non-blocking > connect

[Qemu-devel] [PATCH 1/3] util: remove the obsolete non-blocking connect

2016-07-28 Thread Cao jin
The non-blocking connect mechanism is obsolete, and it doesn't work well in inet connection, because it will call getaddrinfo first and getaddrinfo will blocks on DNS lookups. Since commit e65c67e4 & d984464e, the non-blocking connect of migration goes through QIOChannel in a different manner(using