Re: [Qemu-devel] [PATCH] linux-user: fix TARGET_NR_select

2016-09-21 Thread Riku Voipio
On Sun, Sep 04, 2016 at 03:49:22PM +0200, Laurent Vivier wrote: > Le 11/07/2016 à 18:59, Peter Maydell a écrit : > > On 8 July 2016 at 00:17, Laurent Vivier wrote: > >> TARGET_NR_select can have three different implementations: > >> > >> 1- to always return -ENOSYS > >> > >> microblaze, ppc

Re: [Qemu-devel] [PATCH] linux-user: fix TARGET_NR_select

2016-09-04 Thread Laurent Vivier
Le 11/07/2016 à 18:59, Peter Maydell a écrit : > On 8 July 2016 at 00:17, Laurent Vivier wrote: >> TARGET_NR_select can have three different implementations: >> >> 1- to always return -ENOSYS >> >> microblaze, ppc, ppc64 >> >> -> TARGET_WANT_NI_OLD_SELECT >> >> 2- to take parameters

Re: [Qemu-devel] [PATCH] linux-user: fix TARGET_NR_select

2016-07-11 Thread Peter Maydell
On 8 July 2016 at 00:17, Laurent Vivier wrote: > TARGET_NR_select can have three different implementations: > > 1- to always return -ENOSYS > > microblaze, ppc, ppc64 > > -> TARGET_WANT_NI_OLD_SELECT > > 2- to take parameters from a structure pointed by arg1 > (kernel sys_old_sel

Re: [Qemu-devel] [PATCH] linux-user: fix TARGET_NR_select

2016-07-07 Thread Wirth, Allan
Laurent, Seems to work well for my specific case – select no longer returns EFAULT on x86_64 linux user mode, and the arguments are passed correctly. Thank you! Cheers, Allan On 7/7/16, 7:17 PM, "Laurent Vivier" wrote: >TARGET_NR_select can have three different implementations: > > 1- to al