mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
qemu-dm: Nicely terminate the device model script, to let it properly
clean resources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
This commit is contained in:
1 parent
be33e2333a
commit
52bbc0f440
2 files changed
+9
-3
No files matched your search
@@ -321,7 +321,7 @@ class ImageHandler:
|
||||
return
|
||||
if self.pid:
|
||||
try:
|
||||
os.kill(self.pid, signal.SIGKILL)
|
||||
os.kill(self.pid, signal.SIGTERM)
|
||||
except OSError, exn:
|
||||
log.exception(exn)
|
||||
try:
|
||||
|
||||