mirror of
https://github.com/virt-manager/virt-manager.git
synced 2026-07-29 15:55:32 -05:00
Handle libvirt generating invalid volume XML (bz 1072770)
This commit is contained in:
@@ -179,7 +179,7 @@ class vmmConnection(vmmGObject):
|
||||
for vol in pool.get_volumes(refresh=False).values():
|
||||
try:
|
||||
ret.append(vol.get_xmlobj(refresh_if_nec=False))
|
||||
except libvirt.libvirtError, e:
|
||||
except Exception, e:
|
||||
logging.debug("Fetching volume XML failed: %s", e)
|
||||
return ret
|
||||
self._backend.cb_fetch_all_vols = fetch_all_vols
|
||||
|
||||
Reference in New Issue
Block a user