aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-25 17:06:27 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-25 17:06:27 +0000
commita1968d719648b7406076f921ca6410c805b8815e (patch)
tree19f6fecd7528fc7050eee8545a2521604c5f4d8e /vl.c
parent7f5d44e0ff1343f990567417a7f152a1588522d1 (diff)
RT signal may not be a good idea
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@975 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 2c3c72dca5..5f1322ed07 100644
--- a/vl.c
+++ b/vl.c
@@ -921,8 +921,7 @@ static void init_timers(void)
setitimer(ITIMER_REAL, &itv, NULL);
/* use the RTC */
- sigaction(SIGRTMIN, &act, NULL);
- fcntl(rtc_fd, F_SETSIG, SIGRTMIN);
+ sigaction(SIGIO, &act, NULL);
fcntl(rtc_fd, F_SETFL, O_ASYNC);
fcntl(rtc_fd, F_SETOWN, getpid());
} else {