Re: [RFC] Paravirt timer for KVM

Glauber de Oliveira Costa
2007-10-15T17:53:27Z

On 10/15/07, Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org> wrote:
> Gerd Hoffmann wrote:
> >
> >> 2) the TSC would have to be used as a clocksource. You don't know the
> >> frequency which is the first problem with using the TSC but some systems
> >> have a TSC that changes frequencies.
> >>
> >
> > Also note the tsc may stop ticking if the CPU goes sleep in C3, which
> > IMHO makes the tsc almost useless as clocksource for guests ...
> >
>
> But the host knows that, right? So it can update the guest's timebase?

Yes, that's the whole point.

--
Glauber de Oliveira Costa.
"Free as in Freedom"
http://glommer.net

"The less confident you are, the more serious you have to act."