From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4TuC-0003bD-Ch for qemu-devel@nongnu.org; Mon, 05 Mar 2012 04:08:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4Tu9-0002Zf-8X for qemu-devel@nongnu.org; Mon, 05 Mar 2012 04:08:31 -0500 Received: from mail-pw0-f45.google.com ([209.85.160.45]:35032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4Tu8-0002ZD-W6 for qemu-devel@nongnu.org; Mon, 05 Mar 2012 04:08:29 -0500 Received: by pbcuo5 with SMTP id uo5so4074065pbc.4 for ; Mon, 05 Mar 2012 01:08:26 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Mon, 5 Mar 2012 10:08:10 +0100 Message-Id: <1330938495-30573-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/5] Make rt_clock usage configurable for ARM devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org Direct usage of rt_clock should be discouraged. For RTC devices the user cannot choose to follow the host clock with respect to NTP adjustment and daylight savings changes. For other devices it does not provide determinism together with -icount or qtest, and it also keeps ticking while the machine is paused. This series uses rtc_clock uniformly in device models that provide RTC functionality, and vm_clock in the omap_lpg whose ticking should be tied to the VM running state. For consistency I'm also switching the pl031 to rtc_clock; so far it used the vm_clock. v1->v2: switch omap_lpg to vm_clock Paolo Bonzini (5): rtc: add -rtc clock=rt omap: switch omap_lpg to vm_clock arm: switch real-time clocks to rtc_clock pl031: rearm alarm timer upon load pl031: switch clock base to rtc_clock hw/omap1.c | 10 +++--- hw/pl031.c | 75 ++++++++++++++++++++++++++++++++++++------------------- hw/pxa2xx.c | 28 ++++++++++---------- hw/strongarm.c | 10 +++--- hw/twl92230.c | 9 +++--- qemu-options.hx | 7 +++-- vl.c | 2 + 7 files changed, 84 insertions(+), 57 deletions(-) -- 1.7.7.6