Re: [RFC PATCH 0/10] Cleaning up the KVM clock mess

From: David Woodhouse
Date: Fri Apr 19 2024 - 08:53:08 EST


On Thu, 2024-04-18 at 20:34 +0100, David Woodhouse wrote:
>
>       KVM: x86: Remove periodic global clock updates
>       KVM: x86: Kill KVM_REQ_GLOBAL_CLOCK_UPDATE

Meh, I might have to put those back. They were originally introduced to
cope with NTP frequency skew which is no longer a problem, but we now
know there's a systemic skew even between the host CLOCK_MONOTONIC_RAW
and the KVM clock as calculated via the guest's TSC.

So at least when !ka->use_master_clock I think the forced resync does
need to happen.


Attachment: smime.p7s
Description: S/MIME cryptographic signature