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

2015-07-14 Thread Laurent Vivier
Thank you for your comments. I'm currently writing a v2 of this patch with what I've learned working on the netlink interface. I will fix it accordingly all your comments. [ Now, I can boot a PPC64 container with systemd on an x86_64 host: https://asciinema.org/a/7sgwvok72m34v7hg08hfspg4s ] Laur

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

2015-07-14 Thread Peter Maydell
On 29 May 2015 at 23:50, 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 "read()" to the fd returned by > signalfd() to be able to byte-swap the signa

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

2015-05-29 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 "read()" to the fd returned by signalfd() to be able to byte-swap the signalfd_siginfo structure provided by read(). This system co