674941bbf7
53022930-lxc-connection-fix.patch 530229cb-non-x86-kvm-creation-fix.patch 53023f56-dont-alter-caps-machine-list-on-create.patch 53030858-generate_target-fix.patch 53037798-not-customizing-generate_target-fix.patch 53047532-dont-get-duplicated-disks.patch 53047595-calculate-disk-bus-properly.patch 530987c4-disk-bus-calculation-fix.patch 530c021c-attempt-empty-path-on-virDomainBlockStats.patch 530cd6ab-log-broken-xml.patch 530cf4de-allow-numbered-object-names.patch 530cfa5e-close-connection-on-tick-failure-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=146
21 lines
842 B
Diff
21 lines
842 B
Diff
Index: virt-manager-1.0.0/virtManager/domain.py
|
|
===================================================================
|
|
--- virt-manager-1.0.0.orig/virtManager/domain.py
|
|
+++ virt-manager-1.0.0/virtManager/domain.py
|
|
@@ -1849,7 +1849,14 @@ class vmmDomain(vmmLibvirtObject):
|
|
|
|
info = []
|
|
if not self._using_events() or self._enable_cpu_stats:
|
|
- info = self._backend.info()
|
|
+ try:
|
|
+ info = self._backend.info()
|
|
+ except:
|
|
+ self._backend = self.conn.vmm.lookupByName(self.get_name())
|
|
+ info = self._backend.info()
|
|
+ if info[0] == libvirt.VIR_DOMAIN_NOSTATE:
|
|
+ self._backend = self.conn.vmm.lookupByName(self.get_name())
|
|
+ info = self._backend.info()
|
|
|
|
if stats_update:
|
|
self._tick_stats(info)
|