Re: [PATCH 2/2] virsh: Really disconnect on keepalive timeout

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

 



On Mon, Dec 01, 2014 at 11:05:04AM +0100, Jiri Denemark wrote:
On Sun, Nov 30, 2014 at 20:09:09 +0100, Martin Kletzander wrote:
Commit 676cb4f4e762b8682a06c6dab1f690fbcd939550 added client keepalive
support for virsh.  But because whenever the connection is closed, virsh
tries to reconnect, unless the disconnection happened with the reason
VIR_CONNECT_CLOSE_REASON_CLIENT.  Because of that, virsh kept trying to
reconnect even when the connection was closed due to keepalive.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1073506

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 tools/virsh.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

It's nice this patch makes non-interactive virsh stop, however, it
prevents interactive virsh from automatically reconnecting when a next
command is issued, which is a very useful feature.


Thanks for finding that out.  v2 coming up.

Martin

Attachment: signature.asc
Description: Digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]