diff options
| author | Marcel Apfelbaum | 2014-03-11 14:00:34 +0100 |
|---|---|---|
| committer | Andreas Färber | 2014-03-13 01:21:57 +0100 |
| commit | f8762027a33e2f5d0915c56a904962b1481f75c1 (patch) | |
| tree | 49b46d06869f74798a305c8a71f4444667edcc16 /include/exec | |
| parent | pci: Move VMState registration/unregistration to QOM realize/unrealize (diff) | |
| download | qemu-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
