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