mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
aio / timers: Remove alarm timers
Remove alarm timers from qemu-timers.c now we use g_poll / ppoll instead. Signed-off-by: Alex Bligh <alex@alex.org.uk> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
54904d2a91
commit
6d32717155
@@ -635,9 +635,6 @@ bool qemu_run_timers(QEMUClock *clock);
|
||||
*/
|
||||
bool qemu_run_all_timers(void);
|
||||
|
||||
void configure_alarms(char const *opt);
|
||||
int init_timer_alarm(void);
|
||||
|
||||
/**
|
||||
* initclocks:
|
||||
*
|
||||
|
||||
@@ -131,10 +131,6 @@ int qemu_init_main_loop(void)
|
||||
GSource *src;
|
||||
|
||||
init_clocks();
|
||||
if (init_timer_alarm() < 0) {
|
||||
fprintf(stderr, "could not initialize alarm timer\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
ret = qemu_signal_init();
|
||||
if (ret) {
|
||||
|
||||
+1
-499
File diff suppressed because it is too large
Load Diff
@@ -3714,7 +3714,9 @@ int main(int argc, char **argv, char **envp)
|
||||
old_param = 1;
|
||||
break;
|
||||
case QEMU_OPTION_clock:
|
||||
configure_alarms(optarg);
|
||||
/* Clock options no longer exist. Keep this option for
|
||||
* backward compatibility.
|
||||
*/
|
||||
break;
|
||||
case QEMU_OPTION_startdate:
|
||||
configure_rtc_date_offset(optarg, 1);
|
||||
|
||||
Reference in New Issue
Block a user