2014-09-03 23:55:51 +02:00
|
|
|
bnc#886311 and bnc#888289
|
|
|
|
Prevents a second unecessary vmmDomain object from being created for the VM.
|
|
|
|
The orignal object gets the cpu stats from libvirt but the new one is used to
|
|
|
|
update the display but it is never updated with the new stats.
|
|
|
|
|
2014-10-29 18:03:15 +01:00
|
|
|
Index: virt-manager-1.1.0/virtManager/connection.py
|
2014-09-03 23:55:51 +02:00
|
|
|
===================================================================
|
2014-10-29 18:03:15 +01:00
|
|
|
--- virt-manager-1.1.0.orig/virtManager/connection.py
|
|
|
|
+++ virt-manager-1.1.0/virtManager/connection.py
|
|
|
|
@@ -1245,6 +1245,9 @@ class vmmConnection(vmmGObject):
|
2014-09-03 23:55:51 +02:00
|
|
|
self.emit("nodedev-added", name)
|
|
|
|
|
|
|
|
self.idle_add(tick_send_signals)
|
2014-10-29 18:03:15 +01:00
|
|
|
+ if len(self._vms) < len(vms):
|
2014-09-03 23:55:51 +02:00
|
|
|
+ # Allow time for tick_send_signals to run
|
|
|
|
+ time.sleep(.1)
|
|
|
|
|
|
|
|
ticklist = []
|
|
|
|
def add_to_ticklist(l, args=()):
|