Re: [libvirt] [PATCH v2 2/2] virsh: Don't reconnect after the command when disconnected

2014-12-08 Thread Martin Kletzander
On Fri, Dec 05, 2014 at 12:32:28PM +0100, Jiri Denemark wrote: On Mon, Dec 01, 2014 at 12:00:53 +0100, Martin Kletzander wrote: Each command that needs a connection causes a new connection to be made. Reconnecting after a command failed is pointless, mainly when there is no other command to run

Re: [libvirt] [PATCH v2 2/2] virsh: Don't reconnect after the command when disconnected

2014-12-05 Thread Jiri Denemark
On Mon, Dec 01, 2014 at 12:00:53 +0100, Martin Kletzander wrote: > Each command that needs a connection causes a new connection to be > made. Reconnecting after a command failed is pointless, mainly when > there is no other command to run. Removeing three lines of code takes > care of that and ke

[libvirt] [PATCH v2 2/2] virsh: Don't reconnect after the command when disconnected

2014-12-01 Thread Martin Kletzander
Each command that needs a connection causes a new connection to be made. Reconnecting after a command failed is pointless, mainly when there is no other command to run. Removeing three lines of code takes care of that and keeps virsh working as it should. Signed-off-by: Martin Kletzander --- t