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 rg...@apache.org on 2013/02/01 13:37:40 UTC

svn commit: r1441442 - /incubator/tashi/trunk/src/tashi/nodemanager/vmcontrol/qemu.py

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)