Re: [Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-28 Thread Peter Maydell
On 28 September 2015 at 17:23, Laurent Vivier wrote: > No conclusion was reached here. > I'm ready to send a patch to fix other comments. > > Peter, if you really want this field, I can play with the padfields to > convert it. Just say. If it's not too painful I think it would be preferable to co

Re: [Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-28 Thread Laurent Vivier
Le 28/09/2015 15:57, Riku Voipio a écrit : > On Sat, Sep 05, 2015 at 12:03:11AM +0200, Laurent Vivier wrote: >> >> >> Le 04/09/2015 15:35, Peter Maydell a écrit : >>> On 3 September 2015 at 00:58, Laurent Vivier wrote: This patch introduces a system very similar to the one used in the kerne

Re: [Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-28 Thread Riku Voipio
On Sat, Sep 05, 2015 at 12:03:11AM +0200, Laurent Vivier wrote: > > > Le 04/09/2015 15:35, Peter Maydell a écrit : > > On 3 September 2015 at 00:58, Laurent Vivier wrote: > >> This patch introduces a system very similar to the one used in the kernel > >> to attach specific functions to a given f

Re: [Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-04 Thread Laurent Vivier
Le 04/09/2015 15:35, Peter Maydell a écrit : > On 3 September 2015 at 00:58, Laurent Vivier wrote: >> This patch introduces a system very similar to the one used in the kernel >> to attach specific functions to a given file descriptor. >> >> In this case, we attach a specific "host_to_target()"

Re: [Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-04 Thread Peter Maydell
On 3 September 2015 at 00:58, Laurent Vivier wrote: > This patch introduces a system very similar to the one used in the kernel > to attach specific functions to a given file descriptor. > > In this case, we attach a specific "host_to_target()" translator to the fd > returned by signalfd() to be a

[Qemu-devel] [PATCH v2] linux-user: add signalfd/signalfd4 syscalls

2015-09-02 Thread Laurent Vivier
This patch introduces a system very similar to the one used in the kernel to attach specific functions to a given file descriptor. In this case, we attach a specific "host_to_target()" translator to the fd returned by signalfd() to be able to byte-swap the signalfd_siginfo structure provided by re