summaryrefslogtreecommitdiff
path: root/migration-fd.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel.a@redhat.com>2014-03-11 15:00:34 +0200
committerAndreas Färber <afaerber@suse.de>2014-03-13 01:21:57 +0100
commitf8762027a33e2f5d0915c56a904962b1481f75c1 (patch)
tree49b46d06869f74798a305c8a71f4444667edcc16 /migration-fd.c
parentd2f69df746f06d785ffbf6cc9711f7df9d014e35 (diff)
downloadqemu-f8762027a33e2f5d0915c56a904962b1481f75c1.zip
libqtest: Fix possible deadlock in qtest initialization
'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 <eblake@redhat.com> Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'migration-fd.c')
0 files changed, 0 insertions, 0 deletions