qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/5] Improve PC RTC emulation
@ 2009-09-15 11:36 Jan Kiszka
  2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 4/5] Refactor RTC command line switches Jan Kiszka
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Jan Kiszka @ 2009-09-15 11:36 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Blue Swirl, Glauber Costa, Dor Laor, qemu-devel

The aim of this series is to allow using the emulated PC RTC (MC146818)
as a reliable time source for guests. This is particularly useful if the
host runs NTP or has otherwise access to an accurate clock while the
guest has not (no network, impossible to add an NTP implementation
etc.).

v3 is now a return to the roots: The command line switch refactoring to
-rtc is included again, this time using QemuOpts. This allows to keep
support for vm_clock-based RTC via '-rtc clock=vm'. But the default is
clock=host now.

Find this series also at git://git.kiszka.org/qemu.git queues/clock

Jan Kiszka (5):
      Rename QEMU_TIMER_* to QEMU_CLOCK_*
      win32: Drop dead dyntick timer code
      Introduce QEMU_CLOCK_HOST
      Refactor RTC command line switches
      Enable host-clock-based RTC

 hw/mc146818rtc.c |   38 +++++-----
 qemu-config.c    |   20 +++++
 qemu-config.h    |    1 +
 qemu-options.hx  |   53 ++++++++------
 qemu-timer.h     |    7 ++
 sysemu.h         |    2 +
 vl.c             |  216 ++++++++++++++++++++++++++++++++++++------------------
 7 files changed, 225 insertions(+), 112 deletions(-)

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-10-06 10:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 11:36 [Qemu-devel] [PATCH v3 0/5] Improve PC RTC emulation Jan Kiszka
2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 4/5] Refactor RTC command line switches Jan Kiszka
2009-10-06 10:32   ` Mark McLoughlin
2009-10-06 10:59     ` [PATCH] Register rtc options for -set (was: [Qemu-devel] [PATCH v3 4/5] Refactor RTC command line switches) Jan Kiszka
2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 5/5] Enable host-clock-based RTC Jan Kiszka
2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 1/5] Rename QEMU_TIMER_* to QEMU_CLOCK_* Jan Kiszka
2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 2/5] win32: Drop dead dyntick timer code Jan Kiszka
2009-09-15 11:36 ` [Qemu-devel] [PATCH v3 3/5] Introduce QEMU_CLOCK_HOST Jan Kiszka
2009-09-15 17:50 ` [Qemu-devel] Re: [PATCH v3 0/5] Improve PC RTC emulation Jamie Lokier
2009-09-15 18:51   ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).