Re: [Qemu-devel] [PATCH 0/2] tests: Fix possible deadlock in qtest initialization

2014-03-11 Thread Marcel Apfelbaum
On Mon, 2014-03-10 at 20:13 +0100, Stefan Hajnoczi wrote: > On Mon, Mar 10, 2014 at 05:21:17PM +0200, Marcel Apfelbaum wrote: > > On Mon, 2014-03-10 at 16:02 +0100, Stefan Hajnoczi wrote: > > > On Mon, Mar 10, 2014 at 02:12:12PM +0200, Marcel Apfelbaum wrote: > > > > 'socket_accept' waits for Qemu

Re: [Qemu-devel] [PATCH 0/2] tests: Fix possible deadlock in qtest initialization

2014-03-10 Thread Stefan Hajnoczi
On Mon, Mar 10, 2014 at 05:21:17PM +0200, Marcel Apfelbaum wrote: > On Mon, 2014-03-10 at 16:02 +0100, Stefan Hajnoczi wrote: > > On Mon, Mar 10, 2014 at 02:12:12PM +0200, Marcel Apfelbaum wrote: > > > 'socket_accept' waits for Qemu to init its unix socket. > > > If Qemu encounters an error during

Re: [Qemu-devel] [PATCH 0/2] tests: Fix possible deadlock in qtest initialization

2014-03-10 Thread Marcel Apfelbaum
On Mon, 2014-03-10 at 16:02 +0100, Stefan Hajnoczi wrote: > On Mon, Mar 10, 2014 at 02:12:12PM +0200, Marcel Apfelbaum wrote: > > 'socket_accept' waits for Qemu to init its unix socket. > > If Qemu encounters an error during command line parsing, > > it can exit before initializing the communicatio

Re: [Qemu-devel] [PATCH 0/2] tests: Fix possible deadlock in qtest initialization

2014-03-10 Thread Stefan Hajnoczi
On Mon, Mar 10, 2014 at 02:12:12PM +0200, Marcel Apfelbaum wrote: > 'socket_accept' waits for Qemu to init its unix socket. > If Qemu encounters an error during command line parsing, > it can exit before initializing the communication channel. > It gets worse as the make check-qtest-* gets stuck wi

[Qemu-devel] [PATCH 0/2] tests: Fix possible deadlock in qtest initialization

2014-03-10 Thread Marcel Apfelbaum
'socket_accept' waits for Qemu to init its unix socket. If Qemu encounters an error during command line parsing, it can exit before initializing the communication channel. It gets worse as the make check-qtest-* gets stuck without notifying which test exactly has problems, so debugging can be a cha