qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 00/19][RFC] Cleanups + split timer handling out of v


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 00/19][RFC] Cleanups + split timer handling out of vl.o
Date: Mon, 21 Dec 2009 09:09:11 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]