[RFC][PATCH] Add HPET emulation to qemu

2008-07-09 Thread Beth Kon
This patch, based on an earlier patch by Alexander Graf, adds HPET emulation to qemu. I am sending out a separate patch to kvm with the required bios changes. This work is incomplete. Currently working (at least generally): - linux 2.6.25.9 guest Todo: - other guest support (i.e. adding whate

Re: [RFC][PATCH] Add HPET emulation to qemu

2008-07-09 Thread Dor Laor
Beth Kon wrote: This patch, based on an earlier patch by Alexander Graf, adds HPET emulation to qemu. I am sending out a separate patch to kvm with the required bios changes. This work is incomplete. Currently working (at least generally): - linux 2.6.25.9 guest Todo: - other guest support

Re: [RFC][PATCH] Add HPET emulation to qemu

2008-07-12 Thread Alexander Graf
Hi Beth, On Jul 10, 2008, at 5:48 AM, Beth Kon wrote: This patch, based on an earlier patch by Alexander Graf, adds HPET emulation to qemu. I am sending out a separate patch to kvm with the required bios changes. This work is incomplete. Wow it's good to see that someone's working on it. I a

Re: [RFC][PATCH] Add HPET emulation to qemu

2008-07-22 Thread Beth Kon
On Sat, 2008-07-12 at 17:42 +0200, Alexander Graf wrote: > Hi Beth, > > On Jul 10, 2008, at 5:48 AM, Beth Kon wrote: > > > This patch, based on an earlier patch by Alexander Graf, adds HPET > > emulation to qemu. I am sending out a separate patch to kvm with the > > required bios changes. > > > >

[RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-01 Thread Beth Kon
Major changes: - Rebased to register-based operations for ease of save/restore. - Looked through Xen's hpet implementation and picked up a bunch of things, though not quite everything yet. Thanks! - PIT and RTC are entirely disabled in legacy mode, not just their interrupts. There is still

[RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-01 Thread Beth Kon
Major changes: - Rebased to register-based operations for ease of save/restore. - Looked through Xen's hpet implementation and picked up a bunch of things, though not quite everything yet. Thanks! - PIT and RTC are entirely disabled in legacy mode, not just their interrupts. There is still

[RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Beth Kon
Major changes: - Rebased to register-based operations for ease of save/restore. - Looked through Xen's hpet implementation and picked up a bunch of things, though not quite everything yet. Thanks! - PIT and RTC are entirely disabled in legacy mode, not just their interrupts. There is still

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu

2008-07-10 Thread Samuel Thibault
Cool! Does it now happen that qemu no longer wakes up every 10ms? If not, please try to make sure it happens, that would eventually fix that power leak :) Samuel -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu

2008-07-10 Thread Beth Kon
On Thu, 2008-07-10 at 10:18 +0100, Samuel Thibault wrote: > Cool! > Does it now happen that qemu no longer wakes up every 10ms? If not, > please try to make sure it happens, that would eventually fix that power > leak :) > > Samuel > I will look into CONFIG_NO_HZ operation next. Haven't tried th

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Paul Brook
> I've been playing with CONFIG_NO_HZ and been surprised by the > results. I was trying to reproduce the wakeup every 10ms that > Samuel Thibault mentioned, thinking the HPET would improve it. > But for an idle guest in both cases (with and without HPET), the > number of wakeups per second was rel

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Samuel Thibault
Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : > I was trying to reproduce the wakeup every 10ms that > Samuel Thibault mentioned, thinking the HPET would improve it. > But for an idle guest in both cases (with and without HPET), the > number of wakeups per second was relatively low (28)

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Anthony Liguori
Samuel Thibault wrote: Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : I was trying to reproduce the wakeup every 10ms that Samuel Thibault mentioned, thinking the HPET would improve it. But for an idle guest in both cases (with and without HPET), the number of wakeups per second was

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Samuel Thibault
Anthony Liguori, le Sat 02 Aug 2008 09:46:30 -0500, a écrit : > Samuel Thibault wrote: > >Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : > > > >>I was trying to reproduce the wakeup every 10ms that > >>Samuel Thibault mentioned, thinking the HPET would improve it. > >>But for an idle gu

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-02 Thread Samuel Thibault
Samuel Thibault, le Sat 02 Aug 2008 18:21:03 +0100, a écrit : > Anthony Liguori, le Sat 02 Aug 2008 09:46:30 -0500, a écrit : > > Samuel Thibault wrote: > > >Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : > > > > > >>I was trying to reproduce the wakeup every 10ms that > > >>Samuel Thiba

Re: [Qemu-devel] [RFC][PATCH] Add HPET emulation to qemu (v2)

2008-08-12 Thread Beth Kon
On Sat, 2008-08-02 at 18:21 +0100, Samuel Thibault wrote: > Anthony Liguori, le Sat 02 Aug 2008 09:46:30 -0500, a écrit : > > Samuel Thibault wrote: > > >Beth Kon, le Sat 02 Aug 2008 06:05:14 -0500, a écrit : > > > > > >>I was trying to reproduce the wakeup every 10ms that > > >>Samuel Thibault