Merge "make diagnostics workable for libvirt with Xen"

This commit is contained in:
Jenkins 2012-11-09 02:53:44 +00:00 committed by Gerrit Code Review
commit e83a155f4c

View File

@ -2986,7 +2986,7 @@ class LibvirtDriver(driver.ComputeDriver):
mem = domain.memoryStats()
for key in mem.keys():
output["memory-" + key] = mem[key]
except libvirt.libvirtError:
except (libvirt.libvirtError, AttributeError):
pass
return output