Received: from eggs.gnu.org ([2001:4830:134:3::10]:44630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBjEa-00066q-80 for qemu-devel@nongnu.org; Wed, 23 Dec 2015 08:13:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBjEU-0006ln-GS for qemu-devel@nongnu.org; Wed, 23 Dec 2015 08:13:39 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:52025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBjEU-0006lb-7P for qemu-devel@nongnu.org; Wed, 23 Dec 2015 08:13:34 -0500 References: <1446064846-12529-1-git-send-email-laurent@vivier.eu> <56742290.2050903@vivier.eu> <20151221151449.GA29744@kos.to> From: Laurent Vivier Message-ID: <567A9DF1.5000800@vivier.eu> Date: Wed, 23 Dec 2015 14:13:21 +0100 MIME-Version: 1.0 In-Reply-To: <20151221151449.GA29744@kos.to> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v3 0/5] linux-user: manage SOCK_PACKET socket type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Riku Voipio Cc: Peter Maydell , QEMU Developers Le 21/12/2015 16:14, Riku Voipio a écrit : > On Fri, Dec 18, 2015 at 04:13:20PM +0100, Laurent Vivier wrote: >> Le 29/10/2015 00:12, Peter Maydell a écrit : >>> On 28 October 2015 at 20:40, Laurent Vivier wrote: >>>> This is obsolete, but if we want to use dhcp with some distros (like debian >>>> ppc 8.2 jessie), we need it. >>>> >>>> bind() uses an interface name instead an interface index, and socket() >>>> needs network order value to encode the protocol. >>>> >>>> v3: update cover letter message, >>>> insert Reviewed-by: in PATCH 1 and PATCH 2 >>>> insert fd_trans_target_to_host_addr into target_to_host_sockaddr and >>>> pass fd, check fd is >= 0, rename packet_target_to_host_addr to >>>> packet_target_to_host_sockaddr >>>> >>>> v2: Split the patch in 4 parts to manage protocol endianness (socket()) and >>>> interface name (bind()) in different patches. >>>> Use TargetFdTrans array to manage the SOCK_PACKET type special case in >>>> bind(). >>>> The two others patches are here to introduce a new function in TargetFdTrans >>>> to translate sockaddr data structure (rename previous functions to be >>>> clear). >>>> >>>> Laurent Fiver (5): >>> >>> This name doesn't match the names on the actual patch mails, >>> but those are right so I guess it doesn't matter. >>> >>>> linux-user: SOCK_PACKET uses network endian to encode protocol in >>>> socket() >>>> linux-user: rename TargetFdFunc to TargetFdDataFunc, and structure >>>> fields accordingly >>>> linux-user: add a function hook to translate sockaddr >>>> linux-user: manage bind with a socket of SOCK_PACKET type. >>>> linux-user: check fd is >= 0 in >>>> fd_trans_host_to_target_data/fd_trans_host_to_target_addr >>> >>> Series >>> Reviewed-by: Peter Maydell > >> Can we have this series applied ? > > I'll create next pull req next week, right now I'm a bit busy. If someone > else wants to merge the series before me, you have my Acked-by. If you want, I can do the pull request: - I take your branch linux-user-for-upstream from https://git.linaro.org/people/riku.voipio/qemu.git - remove "linux-user: Fix array bounds in errno conversion" because it is broken, - add "linux-user: manage SOCK_PACKET socket type" I'd like to add "linux-user, sh4: fix signal retcode address", "linux-user: Enable sigaltstack syscall for sh4" but they have no reviewer except me. Laurent