summaryrefslogtreecommitdiff
path: root/main-loop.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-09 19:14:25 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-10 08:33:34 -0500
commita7aae221b0ef3125dedbbfe49a3f758a21a73330 (patch)
tree6d94d2e52f15be1a9f4d9f10e9c60461845e84aa /main-loop.h
parent2e1201d09bd28d825bcc962b2cf7a99b9583475e (diff)
Switch SIG_IPI to SIGUSR1
Use SIGUSR1 unconditionally as SIG_IPI. First, ucontext coroutines tend to corrupt RT signal masks due to a 32-on-64-bit Linux kernel bug. And, second, there appears to be no advantage in using RT signals for VCPU kicking. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'main-loop.h')
-rw-r--r--main-loop.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/main-loop.h b/main-loop.h
index c06b8bc441..dce1cd9d7c 100644
--- a/main-loop.h
+++ b/main-loop.h
@@ -25,11 +25,7 @@
#ifndef QEMU_MAIN_LOOP_H
#define QEMU_MAIN_LOOP_H 1
-#ifdef SIGRTMIN
-#define SIG_IPI (SIGRTMIN+4)
-#else
#define SIG_IPI SIGUSR1
-#endif
/**
* qemu_init_main_loop: Set up the process so that it can run the main loop.