From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gOsJS-0001mv-6I for qemu-devel@nongnu.org; Mon, 19 Nov 2018 17:46:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gOsJP-0001zQ-2M for qemu-devel@nongnu.org; Mon, 19 Nov 2018 17:46:38 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:56444) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gOsJO-0001yx-T6 for qemu-devel@nongnu.org; Mon, 19 Nov 2018 17:46:35 -0500 Date: Mon, 19 Nov 2018 23:46:30 +0100 From: Samuel Thibault Message-ID: <20181119224630.e75njmhvejew6xuv@function> References: <20181114123643.24091-1-marcandre.lureau@redhat.com> <20181114123643.24091-2-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181114123643.24091-2-marcandre.lureau@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for-3.2 01/41] slirp: move socket pair creation in helper function 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, rjones@redhat.com, stefanha@redhat.com, renzo@cs.unibo.it Hello, Marc-Andr=C3=A9 Lureau, le mer. 14 nov. 2018 16:36:03 +0400, a ecrit: > Originally, the patch was fixing a bunch of issues, but Peter beat me > to it with earlier commit "slirp: fork_exec(): create and connect > child socket before fork()". >=20 > Factor out socket pair creation, to simplify the fork_exec() code. > Use the name socketpair_with_oob() since the code is actually similar > to what socketpair() would do, except that it uses TCP sockets, for > SLIRP to be able to call send with MSG_OOB (since SO_OOBINLINE is set, > this could probably be faked instead on regular unix sockets though). >=20 > Signed-off-by: Marc-Andr=C3=A9 Lureau Applied to my tree, thanks! Samuel