Skip to content

Commit

Permalink
aio / timers: Remove alarm timers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
abligh authored and stefanhaRH committed Aug 22, 2013
1 parent 54904d2 commit 6d32717
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 507 deletions.
3 changes: 0 additions & 3 deletions include/qemu/timer.h
Expand Up @@ -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:
*
Expand Down
4 changes: 0 additions & 4 deletions main-loop.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 6d32717

Please sign in to comment.