2015-05-04 22:15:01 +02:00
|
|
|
References: bnc#892003
|
|
|
|
For very large memory VMs Xen takes a long time scrubbing memory
|
|
|
|
which causes the libvirt connection to timeout. Upstream was not
|
|
|
|
interested in making this a preferences option (4/11/2015)
|
2018-10-30 23:00:52 +01:00
|
|
|
Index: virt-manager-2.0.0/virtManager/connection.py
|
2014-10-29 18:03:15 +01:00
|
|
|
===================================================================
|
2018-10-30 23:00:52 +01:00
|
|
|
--- virt-manager-2.0.0.orig/virtManager/connection.py
|
|
|
|
+++ virt-manager-2.0.0/virtManager/connection.py
|
2018-12-17 23:20:22 +01:00
|
|
|
@@ -1061,7 +1061,7 @@ class vmmConnection(vmmGObject):
|
2017-08-09 21:02:00 +02:00
|
|
|
self.caps.get_cpu_values(self.caps.host.cpu.arch)
|
2014-09-03 23:55:51 +02:00
|
|
|
|
2015-05-04 22:15:01 +02:00
|
|
|
try:
|
|
|
|
- self._backend.setKeepAlive(20, 1)
|
|
|
|
+ self._backend.setKeepAlive(20, 10)
|
2017-08-09 21:02:00 +02:00
|
|
|
except Exception as e:
|
2017-10-30 21:23:56 +01:00
|
|
|
if (not isinstance(e, AttributeError) and
|
2015-05-04 22:15:01 +02:00
|
|
|
not util.is_error_nosupport(e)):
|