commit | be680abfe66ec3a324e5337692e89b68e44cc105 | [log] [tgz] |
---|---|---|
author | Michael Stroucken <stroucki@apache.org> | Thu Aug 02 20:05:43 2012 +0000 |
committer | Michael Stroucken <stroucki@apache.org> | Thu Aug 02 20:05:43 2012 +0000 |
tree | 19e7287391c2aa646d3204e969451122d138da92 | |
parent | e3d5cee058f495af1e9e63db2851b22207e087fd [diff] |
Merge branch 'qemuexitstatus' git-svn-id: https://svn.apache.org/repos/asf/incubator/tashi/trunk@1368682 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/tashi/nodemanager/vmcontrol/qemu.py b/src/tashi/nodemanager/vmcontrol/qemu.py index 3f19f5c..5c30f34 100644 --- a/src/tashi/nodemanager/vmcontrol/qemu.py +++ b/src/tashi/nodemanager/vmcontrol/qemu.py
@@ -211,7 +211,8 @@ # wait on it if (child.OSchild): try: - os.waitpid(vmId, 0) + (_pid, status) = os.waitpid(vmId, 0) + self.log.info("vmId %s exited with status %s" % (vmId, status)) except: self.log.exception("waitpid failed for vmId %s" % (vmId)) # recover the child's stderr and monitor