Re: [Qemu-devel] [PATCH v2 for-3.2 v2 04/30] slirp: simplify fork_exec()

2018-11-21 Thread Samuel Thibault
Marc-André Lureau, le jeu. 22 nov. 2018 02:06:21 +0400, a ecrit: > Use g_spawn_async_with_fds() to setup the child. > > GSpawn handles reaping the child, and closing parent file descriptors. > > Signed-off-by: Marc-André Lureau Ditto. Samuel

[Qemu-devel] [PATCH v2 for-3.2 v2 04/30] slirp: simplify fork_exec()

2018-11-21 Thread Marc-André Lureau
Use g_spawn_async_with_fds() to setup the child. GSpawn handles reaping the child, and closing parent file descriptors. Signed-off-by: Marc-André Lureau --- slirp/misc.c | 75 +--- 1 file changed, 36 insertions(+), 39 deletions(-) diff --git