incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rg...@apache.org
Subject svn commit: r1441442 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py
Date Fri, 01 Feb 2013 13:37:40 GMT
Author: rgass
Date: Fri Feb  1 13:37:40 2013
New Revision: 1441442

URL: http://svn.apache.org/viewvc?rev=1441442&view=rev
Log:
Replacing SIGKILL with SIGTERM for destroyvm to allow qemu to clean up after
itself.



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=1441442&r1=1441441&r2=1441442&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py (original)
+++ incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py Fri Feb  1 13:37:40 2013
@@ -843,7 +843,7 @@ class Qemu(VmControlInterface):
 		child = self.__getChildFromPid(vmId)
 		child.migratingOut = False
 		# XXX: the child could have exited between these two points, but I don't know how to fix
that since it might not be our child process
-		os.kill(child.pid, signal.SIGKILL)
+		os.kill(child.pid, signal.SIGTERM)
 	
 	def __specificStartVnc(self, vmId):
 		child = self.__getChildFromPid(vmId)



Mime
View raw message