Re: [Qemu-devel] Missing system calls retries in case of EINTR

2007-07-11 Thread Rob Landley
Talking about sigaction(SA_RESTART) vs looping around -EINTR everywhere: On Tuesday 10 July 2007 8:57:34 pm Yigael Fleishman wrote: Rob, Thanks, that should also work. Seems do_sigaction() in linux-user/signal.c has some code which does that (though obviously not for the signal that I'm

Re: [Qemu-devel] Missing system calls retries in case of EINTR

2007-07-11 Thread Yigael Fleishman
Rob Thanks for the background info. I wasn't very specific in my last question. Actually I meant to ask why doesn't qemu code set sigaction(SA_RESTART) for _all_ signals when running in system emulation mode (or maybe it does, which means there's even larger problem...) --Yigael On 7/11/07,

Re: [Qemu-devel] Missing system calls retries in case of EINTR

2007-07-10 Thread Yigael Fleishman
Rob, Thanks, that should also work. Seems do_sigaction() in linux-user/signal.c has some code which does that (though obviously not for the signal that I'm receiving). Any idea why SA_RESTART calls are not invoked by default to restart syscalls for all signals? --Yigael On 7/6/07, Rob Landley

Re: [Qemu-devel] Missing system calls retries in case of EINTR

2007-07-06 Thread Rob Landley
On Monday 25 June 2007 20:14:24 Yigael Fleishman wrote: Running qemu on a Ubuntu Feisty host I've encountered an occasional failure-to-launch problem. I've used the -serial /dev/ttyS0 at the command line, and qemu would often exit printing could not open serial device. Looking in the srcs