[virt-tools-list] [PATCH virt-manager 2/3] virt-manager: check if still connected every 20 seconds

Giuseppe Scrivano gscrivan at redhat.com
Tue Jul 1 13:36:42 UTC 2014


Signed-off-by: Giuseppe Scrivano <gscrivan at redhat.com>
---
 virtManager/connection.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtManager/connection.py b/virtManager/connection.py
index f677d23..3d138cc 100644
--- a/virtManager/connection.py
+++ b/virtManager/connection.py
@@ -1030,6 +1030,7 @@ class vmmConnection(vmmGObject):
             logging.debug("%s capabilities:\n%s",
                           self.get_uri(), self.caps.xml)
             self._add_conn_events()
+            self._backend.setKeepAlive(20, 1)
             self.schedule_priority_tick(stats_update=True,
                                         pollvm=True, pollnet=True,
                                         pollpool=True, polliface=True,
-- 
1.9.3




More information about the virt-tools-list mailing list