Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:PowerPC
virt-manager
virtman-update-backend.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtman-update-backend.diff of Package virt-manager
Index: virt-manager-0.9.3/src/virtManager/domain.py =================================================================== --- virt-manager-0.9.3.orig/src/virtManager/domain.py +++ virt-manager-0.9.3/src/virtManager/domain.py @@ -1584,7 +1584,14 @@ class vmmDomain(vmmLibvirtObject): # Invalidate cached values self._invalidate_xml() - 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() expected = self.config.get_stats_history_length() current = len(self.record) if current > expected:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor