[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V4] tests/libqtest: Fix possible deadlock in qte
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH V4] tests/libqtest: Fix possible deadlock in qtest initialization |
Date: |
Tue, 11 Mar 2014 19:51:41 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Mar 11, 2014 at 03:00:34PM +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.
>
> Using a timeout for sockets fixes the issue.
>
> Reviewed-by: Eric Blake <address@hidden>
> Signed-off-by: Marcel Apfelbaum <address@hidden>
> ---
> tests/libqtest.c | 13 +++++++++++--
> 1 file changed, 11 insertions(+), 2 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>