[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] qemu: Try multiple times to open unix monitor socket



On Tue, Jul 14, 2009 at 06:22:42PM -0400, Cole Robinson wrote:
> Unlike the pty monitor (which we know exists since we scrape its path from
> stdout), we have no way of knowing that the unix monitor socket should exist/
> be initialized. As a result, some of my KVM guests randomly fail to start on
> F10 host.
> 
> Try to open the unix socket in a 3 second timeout loop. Ignore EACCES (path
> does not exist if a first time run) and ECONNREFUSED (leftover socket from
> a previous run hasn't been removed yet). Fixes things for me.

  It's always a bit annoying to end up with heuristics like this
but if we don't have any other way, okay, ACK

  thanks,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]