Re: [Qemu-devel] [PATCH][v5] linux-user: correct semctl() and shmctl()

2013-02-04 Thread Laurent Vivier
Le lundi 04 février 2013 à 15:16 +, Peter Maydell a écrit : > On 31 January 2013 19:50, Laurent Vivier wrote: > > The parameter "union semun" of semctl() is not a value > > but a pointer to the value. > > Hi. For your next patch could you make sure you send it as > a fresh email rather than a

Re: [Qemu-devel] [PATCH][v5] linux-user: correct semctl() and shmctl()

2013-02-04 Thread Peter Maydell
On 31 January 2013 19:50, Laurent Vivier wrote: > The parameter "union semun" of semctl() is not a value > but a pointer to the value. Hi. For your next patch could you make sure you send it as a fresh email rather than a followup to the previous version? Anthony's patch-handling tools don't real

[Qemu-devel] [PATCH][v5] linux-user: correct semctl() and shmctl()

2013-01-31 Thread Laurent Vivier
The parameter "union semun" of semctl() is not a value but a pointer to the value. Moreover, all fields of target_su must be swapped (if needed). The third argument of shmctl is a pointer. WITHOUT this patch: $ ipcs kernel not configured for shared memory qemu: uncaught target signal 11 (Segm