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

Laine Stump laine at laine.org
Fri Mar 5 21:18:48 UTC 2010


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 ;-)




More information about the libvir-list mailing list