20 lines
805 B
Diff
20 lines
805 B
Diff
|
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.
|
||
|
|
||
|
Index: virt-manager-1.0.1/virtManager/connection.py
|
||
|
===================================================================
|
||
|
--- virt-manager-1.0.1.orig/virtManager/connection.py
|
||
|
+++ virt-manager-1.0.1/virtManager/connection.py
|
||
|
@@ -1291,6 +1291,9 @@ class vmmConnection(vmmGObject):
|
||
|
self.emit("nodedev-added", name)
|
||
|
|
||
|
self.idle_add(tick_send_signals)
|
||
|
+ if len(self.vms) < len(vms):
|
||
|
+ # Allow time for tick_send_signals to run
|
||
|
+ time.sleep(.1)
|
||
|
|
||
|
ticklist = []
|
||
|
def add_to_ticklist(l, args=()):
|