Received: from [140.186.70.92] (port=50802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1lxb-0007TU-UC for qemu-devel@nongnu.org; Mon, 21 Mar 2011 16:44:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1lxX-0002Yy-6X for qemu-devel@nongnu.org; Mon, 21 Mar 2011 16:44:19 -0400 Received: from hall.aurel32.net ([88.191.126.93]:45603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1lxX-0002Yl-1m for qemu-devel@nongnu.org; Mon, 21 Mar 2011 16:44:15 -0400 Date: Mon, 21 Mar 2011 21:44:05 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PULL] allow arbitrary scaling of timers Message-ID: <20110321204405.GE10234@volta.aurel32.net> References: <1299949460-4387-1-git-send-email-pbonzini@redhat.com> <4D7C02B6.3000503@codemonkey.ws> <4D7DC03E.3080202@redhat.com> <4D875424.6090709@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4D875424.6090709@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org On Mon, Mar 21, 2011 at 02:35:32PM +0100, Paolo Bonzini wrote: > On 03/14/2011 08:14 AM, Paolo Bonzini wrote: > > On 03/13/2011 12:33 AM, Anthony Liguori wrote: > >> Really nice series. > >> > >> The whole thing Reviewed-by: Anthony Liguori > >> > >> Did you really mean to RFC this? I don't think there's any sort of > >> problem applying this as it's mostly mechanical. > > > > Yeah, it's just that the topic had been brought before and other people > > may have other ideas regarding the API. It's something pretty central so > > the API change warranted an RFC. If you want to apply it, now or in a > > few days, I certainly won't complain. > > The following changes since commit e0efb993b817564ef84e462ac1fe35f89b57ad7b: > > Fix conversions from pointer to int and vice versa (2011-03-20 21:39:23 +0000) > > are available in the git repository at: > git://github.com/bonzini/qemu.git for-anthony > > Paolo Bonzini (5): > add more helper functions with explicit milli/nanosecond resolution > change all rt_clock references to use millisecond resolution accessors > change all other clock references to use nanosecond resolution accessors > add a generic scaling mechanism for timers > remove qemu_get_clock > > audio/audio.c | 4 +- > audio/noaudio.c | 4 +- > audio/spiceaudio.c | 4 +- > audio/wavaudio.c | 2 +- > buffered_file.c | 6 ++-- > console.c | 4 +- > hw/acpi_piix4.c | 8 +++--- > hw/adlib.c | 2 +- > hw/apic.c | 8 +++--- > hw/arm_sysctl.c | 2 +- > hw/armv7m_nvic.c | 8 +++--- > hw/baum.c | 4 +- > hw/bt-hci-csr.c | 4 +- > hw/bt-hci.c | 12 +++++----- > hw/cuda.c | 24 ++++++++++---------- > hw/dp8393x.c | 6 ++-- > hw/etraxfs_timer.c | 2 +- > hw/fdc.c | 4 +- > hw/hpet.c | 14 +++++----- > hw/i8254.c | 12 +++++----- > hw/i8259.c | 4 +- > hw/ide/core.c | 4 +- > hw/intel-hda.c | 2 +- > hw/lan9118.c | 4 +- > hw/lm832x.c | 6 ++-- > hw/m48t59.c | 6 ++-- > hw/mc146818rtc.c | 16 ++++++------ > hw/mips_timer.c | 10 ++++---- > hw/mpcore.c | 6 ++-- > hw/omap1.c | 30 ++++++++++++------------ > hw/omap_gptimer.c | 14 +++++----- > hw/omap_synctimer.c | 2 +- > hw/pcnet.c | 6 ++-- > hw/pcspk.c | 2 +- > hw/pflash_cfi01.c | 2 +- > hw/pflash_cfi02.c | 6 ++-- > hw/pl031.c | 8 +++--- > hw/ppc.c | 52 +++++++++++++++++++++--------------------- > hw/ppc405_uc.c | 6 ++-- > hw/ppc_prep.c | 2 +- > hw/ptimer.c | 14 +++++----- > hw/pxa2xx.c | 30 ++++++++++++------------ > hw/pxa2xx_timer.c | 28 +++++++++++----------- > hw/rc4030.c | 4 +- > hw/rtl8139.c | 22 +++++++++--------- > hw/sb16.c | 4 +- > hw/serial.c | 20 ++++++++-------- > hw/soc_dma.c | 4 +- > hw/spitz.c | 6 ++-- > hw/stellaris.c | 6 ++-- > hw/sun4u.c | 12 +++++----- > hw/syborg_rtc.c | 2 +- > hw/tsc2005.c | 4 +- > hw/tsc210x.c | 20 ++++++++-------- > hw/tusb6010.c | 8 +++--- > hw/twl92230.c | 8 +++--- > hw/usb-hid.c | 6 ++-- > hw/usb-musb.c | 4 +- > hw/usb-ohci.c | 8 +++--- > hw/usb-uhci.c | 6 ++-- > hw/vga.c | 2 +- > hw/virtio-net.c | 6 ++-- > hw/vt82c686.c | 8 +++--- > hw/wdt_i6300esb.c | 4 +- > hw/wdt_ib700.c | 4 +- > hw/xen_domainbuild.c | 6 ++-- > monitor.c | 4 +- > net/dump.c | 2 +- > qemu-char.c | 8 +++--- > qemu-timer.c | 60 +++++++++++++++++++++---------------------------- > qemu-timer.h | 25 +++++++++++++++++++- > savevm.c | 6 ++-- > slirp/slirp.c | 2 +- > target-ppc/kvm.c | 4 +- > target-ppc/kvm_ppc.c | 6 ++-- > ui/spice-core.c | 4 +- > ui/vnc.c | 10 ++++---- > usb-linux.c | 4 +- > vl.c | 12 +++++----- > 79 files changed, 364 insertions(+), 351 deletions(-) > Thanks, pulled. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net