mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: Change the default unix monitor timeout
There is a number of reported issues when we fail starting a domain. Turns out that, in some scenarios like high load, 3 second timeout is not enough for qemu to start up to the phase where the socket is created. Since there is no downside of waiting longer, raise the timeout right to 30 seconds. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
84f0ddaf19
commit
fe89b687a0
@ -271,7 +271,7 @@ qemuMonitorOpenUnix(const char *monitor, pid_t cpid)
|
||||
{
|
||||
struct sockaddr_un addr;
|
||||
int monfd;
|
||||
int timeout = 3; /* In seconds */
|
||||
int timeout = 30; /* In seconds */
|
||||
int ret;
|
||||
size_t i = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user