Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

From: Thomas Gleixner
Date: Fri Nov 17 2017 - 17:50:02 EST

On Thu, 16 Nov 2017, Jan Kiszka wrote:
> Calibrate the TSC and, where necessary, the APIC timer against the
> TMTIMER. We need our own implementation as neither the PIC nor the HPET
> are available, and the standard calibration routines try to make use of
> them.

Why is this needed at all?

The host the frequency already. So this can be done w/o pmtimer and extra
calibration routine.