Marcelo Tosatti <[EMAIL PROTECTED]> writes:
>
> Well, Linux assumes that TSC stops ticking on C2/C3.

It doesn't always and Linux is overly conservative and doesn't know
the full rules (and in some cases it's also hard to know because the
BIOS hides systems). Also a lot of systems don't have C2/C3.

But it still happens occasionally so it has to be handled. Normally
we would expect guests to detect this because they have exactly the 
same problem on real hardware, but at least older Linux didn't always
get it correct.

But in general the newer kernel already keeps an estimate on how long C2/C3 took
(needed for power management) and nobody would stop KVM from just adding
that into the TSC offset that is supported by VT. You might still have some 
drift
from that though.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to