096afbb01d
detection virtinst-ignore-error-403-on-directories.patch (Leonardo Chiquitto) - bnc#886311 - Xen Virtual Machine Manager does not display CPU usage stats - bnc#888289 - After domU shutdown, sometimes virt-manager doesn't refresh the domU status. virtman-sync-vm-startup-for-cpu-usage.patch - add patch: virtinst-ppc64le.patch initial ppc64le support for virt-install - bnc#875111 - When kvm guest is in crashed state, virt-manager reports guest as still running, no option to shutdown/destroy virtman-allow-destroy-from-shutdown-menu-of-crashed-vm.patch - bnc#892003 - create virtual machine with Virt Manager randomly times out with large memory guest virtman-increase-setKeepAlive-count.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=194
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=()):
|