Handle libvirt generating invalid volume XML (bz 1072770)

This commit is contained in:
Cole Robinson
2014-03-06 12:04:08 -05:00
parent 9074fc6c60
commit df7012a68b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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