domain: Emit debugging message when we update status

This commit is contained in:
Cole Robinson 2014-05-02 10:08:39 -04:00
parent 5c28a00d3e
commit 7fb0aa05a2
1 changed files with 3 additions and 0 deletions

View File

@ -1682,6 +1682,9 @@ class vmmDomain(vmmLibvirtObject):
try:
info = self._backend.info()
logging.debug("domain=%s status changed to %d=%s",
self.get_name(), info[0], self.pretty_run_status(info[0]))
self._update_status(info[0])
except libvirt.libvirtError:
# Transient domain might have disappeared, tell the connection