xen/xen-lost-mouse.diff

21 lines
711 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-3.0.4-testing/tools/python/xen/xend/image.py
===================================================================
--- xen-3.0.4-testing.orig/tools/python/xen/xend/image.py
+++ xen-3.0.4-testing/tools/python/xen/xend/image.py
@@ -502,7 +502,7 @@ class HVMImageHandler(ImageHandler):
self.unregister_reboot_feature_watch();
if self.pid:
try:
- os.kill(self.pid, signal.SIGKILL)
+ os.kill(self.pid, signal.SIGTERM)
except OSError, exn:
log.exception(exn)
try: