This series makes a few cleanup in the timer handling code and splits out ~1500 lines out of the huge vl.o file. So far I've tested it by booting a live CD both under Linux and by cross-compiling to Windows. If the series is considered helpful, I can test further including actually running the Windows version (Wine doesn't work).
Paolo Bonzini (19): centralize handling of -icount add qemu_icount_round avoid dubiously clever code in win32_start_timer fix error in win32_rearm_timer only one flag is needed for alarm_timer more alarm timer cleanup add qemu_get_clock_ns move kbd/mouse events to event.c remove qemu_rearm_alarm_timer from main loop add qemu_bh_scheduled use a bottom half to run timers new function qemu_icount_delta move tcg_has_work to cpu-exec.c and rename it disentangle tcg and deadline calculation do not provide qemu_event_increment if iothread not used tweak qemu_notify_event move vmstate registration of vmstate_timers earlier introduce qemu_clock_enable split out qemu-timer.c Makefile | 2 +- Makefile.target | 1 + async.c | 5 + cpu-all.h | 4 +- cpu-exec.c | 16 +- event.c | 238 +++++++++ hw/xenfb.c | 6 +- qemu-common.h | 2 + qemu-timer.c | 1218 ++++++++++++++++++++++++++++++++++++++++++++ qemu-timer.h | 12 + sysemu.h | 2 +- vl.c | 1529 ++++--------------------------------------------------- 12 files changed, 1592 insertions(+), 1443 deletions(-) create mode 100644 event.c create mode 100644 qemu-timer.c