[libvirt] [PATCH] Make virsh reconnect when loosing connection

Daniel Veillard veillard at redhat.com
Wed Mar 10 16:10:25 UTC 2010


On Fri, Mar 05, 2010 at 04:18:48PM -0500, Laine Stump wrote:
> On 03/05/2010 05:11 AM, Daniel Veillard wrote:
> >@@ -8343,6 +8399,17 @@ vshCommandRun(vshControl *ctl, const vshCmd *cmd)
> >          if (ret == FALSE)
> >              virshReportError(ctl);
> >
> >+        /* try to catch automatically disconnections */
> >+        if ((ret == FALSE)&&
> 
> Also, there's a trailing whitespace after the && (but you would have
> found that out when you tried to push ;-)

  What I don't understand is why "make syntax-check" misses it ...

Daniel

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




More information about the libvir-list mailing list