21 lines
718 B
Diff
21 lines
718 B
Diff
From: ?
|
|
Upstream: xen-unstable
|
|
|
|
SIGKILL causes atexit to not be called, so mouse SDL cleanup wasn't
|
|
performed, so mouse wasn't released.
|
|
|
|
|
|
Index: xen-unstable/tools/python/xen/xend/image.py
|
|
===================================================================
|
|
--- xen-unstable.orig/tools/python/xen/xend/image.py
|
|
+++ xen-unstable/tools/python/xen/xend/image.py
|
|
@@ -454,7 +454,7 @@ class HVMImageHandler(ImageHandler):
|
|
def destroy(self, suspend = False):
|
|
if self.pid:
|
|
try:
|
|
- sig = signal.SIGKILL
|
|
+ sig = signal.SIGTERM
|
|
if suspend:
|
|
log.info("use sigusr1 to signal qemu %d", self.pid)
|
|
sig = signal.SIGUSR1
|