[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH][RESEND] Time drift again.
From: |
Jamie Lokier |
Subject: |
Re: [Qemu-devel] [PATCH][RESEND] Time drift again. |
Date: |
Wed, 14 Jan 2009 17:02:23 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Gleb Natapov wrote:
> After my last patch to fix interrupt coalescing was rejected
> on the basis that it is too intrusive we decided to make the
> fix much more localized and only fix the problem for RTC time
> source. Unfortunately it is impossible to fix the problem entirely
> inside RTC code like Andrzej proposed since Windows reads RTC
> register C more then once on each time interrupt so it is impossible
> to count reliably how many interrupt windows actually handled.
> Proposed solution is localized to I386 target and is disabled by
> default. To enable it "-rtc-td-hack" flag should be used.
I truly don't understand why the time correction is done by arcane
guest-specific details like counting register reads, making interrupts
behave different from real hardware, and only correcting guests which
use particular clock sources - instead of simply warping virtual time
(in all the places it's used) which might actually work on all targets
and all guest OSes.
I don't remember anybody responding to that suggestion.
Was it a silly one?
-- Jamie