[libvirt] [PATCH 0/2] Exit from virsh when disconnected due to keepalive

Martin Kletzander mkletzan at redhat.com
Sun Nov 30 19:09:07 UTC 2014


When the connection in virsh got disconnected due to keepalive, virsh
was trying to reconnect.  Adding the REASON_KEEPALIVE to the list of
disconnect reasons after virsh should not reconnect (patch 1/1) was
not enough because our rpc code was rewriting those and that needs to
be fixed too (patch 2/2).

Martin Kletzander (2):
  rpc: Report proper close reason
  virsh: Really disconnect on keepalive timeout

 src/rpc/virnetclient.c |  7 +++++--
 tools/virsh.c          | 13 +++++++++----
 2 files changed, 14 insertions(+), 6 deletions(-)

--
2.1.3




More information about the libvir-list mailing list