Re: [Qemu-devel] [PATCHv2] linux-user: Add getcpu() support

2018-01-11 Thread Laurent Vivier
Le 11/01/2018 à 01:17, Samuel Thibault a écrit : > Signed-off-by: Samuel Thibault > > --- > Difference from v1: handle failure of put_user_u32 with goto efault; > --- > linux-user/syscall.c | 16 > 1 file changed, 16 insertions(+) > > diff --git a/linux-user/syscall.c b/linux-u

[Qemu-devel] [PATCHv2] linux-user: Add getcpu() support

2018-01-10 Thread Samuel Thibault
Signed-off-by: Samuel Thibault --- Difference from v1: handle failure of put_user_u32 with goto efault; --- linux-user/syscall.c | 16 1 file changed, 16 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 11c9116c4a..89d78b7b48 100644 --- a/linux-user/