From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:36206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnYCt-0000ap-3G for qemu-devel@nongnu.org; Sat, 26 Jan 2019 19:21:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnYCs-0007Ax-JA for qemu-devel@nongnu.org; Sat, 26 Jan 2019 19:21:51 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:35012) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gnYCs-0007Aa-Cd for qemu-devel@nongnu.org; Sat, 26 Jan 2019 19:21:50 -0500 Date: Sun, 27 Jan 2019 01:21:48 +0100 From: Samuel Thibault Message-ID: <20190127002148.4g5zo2s5czc37d7x@function> References: <20190117114359.5164-1-marcandre.lureau@redhat.com> <20190117114359.5164-10-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190117114359.5164-10-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 09/27] slirp: replace qemu_set_nonblock() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org, Zhang Chen , Li Zhijian , pbonzini@redhat.com, Jan Kiszka , Jason Wang Marc-Andr=C3=A9 Lureau, le jeu. 17 janv. 2019 15:43:41 +0400, a ecrit: > Replace qemu_set_nonblock() with slirp_set_nonblock() >=20 > qemu_set_nonblock() does some event registration with the main > loop. Add a new callback register_poll_fd() for that reason. >=20 > Always build the fd-register stub, to avoid #if WIN32. >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau Applied, with the additional assert(), thanks!