summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorMarcel Apfelbaum2014-03-11 14:00:34 +0100
committerAndreas Färber2014-03-13 01:21:57 +0100
commitf8762027a33e2f5d0915c56a904962b1481f75c1 (patch)
tree49b46d06869f74798a305c8a71f4444667edcc16 /include/exec
parentpci: Move VMState registration/unregistration to QOM realize/unrealize (diff)
downloadqemu-f8762027a33e2f5d0915c56a904962b1481f75c1.tar.gz
qemu-f8762027a33e2f5d0915c56a904962b1481f75c1.tar.xz
qemu-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 'include/exec')
0 files changed, 0 insertions, 0 deletions