incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mry...@apache.org
Subject svn commit: r750125 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
Date Wed, 04 Mar 2009 19:53:37 GMT
Author: mryan3
Date: Wed Mar  4 19:53:37 2009
New Revision: 750125

URL: http://svn.apache.org/viewvc?rev=750125&view=rev
Log:
Bug fix in error handling code for when qemu fails to start.


Modified:
    incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py

Modified: incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py?rev=750125&r1=750124&r2=750125&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py Wed Mar  4 19:53:37 2009
@@ -339,7 +339,7 @@
 		while not ptyFile:
 			l = child.stderr.readline()
 			if (l == ""):
-				os.waitpid(pid, 0)
+				os.waitpid(child.pid, 0)
 				raise Exception, "Failed to start VM -- ptyFile not found"
 			if (l.find("char device redirected to ") != -1):
 				ptyFile=l[26:].strip()



Mime
View raw message