From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoDFB-0005cN-CD for qemu-devel@nongnu.org; Fri, 20 Jan 2012 07:07:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoDF6-0000r5-1o for qemu-devel@nongnu.org; Fri, 20 Jan 2012 07:06:57 -0500 Received: from mail-we0-f173.google.com ([74.125.82.173]:39691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoDF5-0000qt-Td for qemu-devel@nongnu.org; Fri, 20 Jan 2012 07:06:52 -0500 Received: by werc1 with SMTP id c1so430761wer.4 for ; Fri, 20 Jan 2012 04:06:51 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Fri, 20 Jan 2012 13:06:42 +0100 Message-Id: <1327061206-9404-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/4] Use rtc_clock uniformly for ARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org This series uses rtc_clock uniformly in device models that provide RTC functionality. This will let users choose the desired semantics for the clock. This is most important with qtest, where "-rtc clock=vm" will provide determinism and let you run tests that fake execution for large time periods. However, for consistency I'm switching also the two RTC models that always used the vm_clock, m48t59 and pl031. m48t59 is not ARM so I'm sending it separately. Patch 3 fixes an unrelated bug in the pl031 migration code. Paolo Bonzini (4): rtc: add -rtc clock=rt 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 | 76 ++++++++++++++++++++++++++++++++++++------------------- hw/pxa2xx.c | 28 ++++++++++---------- hw/strongarm.c | 10 +++--- hw/twl92230.c | 9 +++--- qemu-options.hx | 7 +++-- vl.c | 2 + 7 files changed, 85 insertions(+), 57 deletions(-) -- 1.7.7.1