You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by mr...@apache.org on 2009/03/04 19:53:37 UTC
svn commit: r750125 -
/incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
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()