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)
|
2017-09-20 16:28:03 +02:00
|
|
|
Index: virt-manager-1.4.3/virtManager/connection.py
|
2014-10-29 18:03:15 +01:00
|
|
|
===================================================================
|
2017-09-20 16:28:03 +02:00
|
|
|
--- virt-manager-1.4.3.orig/virtManager/connection.py
|
|
|
|
+++ virt-manager-1.4.3/virtManager/connection.py
|
2018-02-06 21:28:37 +01:00
|
|
|
@@ -1088,7 +1088,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)):
|