Re: [Qemu-devel] linux-user: interrupting syscalls

2014-01-17 Thread Peter Maydell
This is resurrecting a two year old waffly proposal (full text here: http://lists.gnu.org/archive/html/qemu-devel/2011-12/msg00384.html) because I realised my idea was broken. On 4 December 2011 16:29, Peter Maydell wrote: > When run natively, this program will block until you send it a > SIGUSR1

[Qemu-devel] linux-user: interrupting syscalls

2011-12-04 Thread Peter Maydell
Disclaimer: I'm writing this email because I had a neat idea about how to solve a problem which Alex Graf discovered, but I don't have the time to actually implement it :-) Consider the following guest code, to be run under linux-user mode: ---begin--- #include #include #include #include int