qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] RTC dyntick


From: Anders Melchiorsen
Subject: [Qemu-devel] [PATCH] RTC dyntick
Date: Sun, 06 Jan 2008 23:47:08 +0100
User-agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.20 (linux)

Hello.

This patch stops the qemu seconds timer when the RTC is not used. Once
the cmos is accessed, the skipped seconds are accounted for, and the
timer is enabled again.

In case interrupts are to be delivered, the timer is not disabled.


I have obviously gone mad from staring too much at PowerTOP, as this
really is a micro-optimization. On the other hand, this change
eliminates the last host-induced periodic timer in my kvm setup, so it
seems worth the trouble.

Please comment, does it make sense?


Anders.

Attachment: qemu-rtc-dyntick.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]