diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 9fb8506..1877cc0 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -917,8 +917,9 @@ qemudOpenMonitorUnix(virConnectPtr conn, if (ret == 0) break; - if (errno == ENOENT || errno == ECONNREFUSED) { + if (errno == ENOENT || errno == EACCES || errno == ECONNREFUSED) { /* ENOENT : Socket may not have shown up yet + * EACCES : acces is not yet granted * ECONNREFUSED : Leftover socket hasn't been removed yet */ continue; }