Re: [PATCH v5 03/13] KVM: x86: Expose TSC offset controls to userspace

2021-07-31 Thread Sean Christopherson
On Thu, Jul 29, 2021, Oliver Upton wrote: > To date, VMM-directed TSC synchronization and migration has been a bit > messy. KVM has some baked-in heuristics around TSC writes to infer if > the VMM is attempting to synchronize. This is problematic, as it depends > on host userspace writing to the

[PATCH v5 03/13] KVM: x86: Expose TSC offset controls to userspace

2021-07-29 Thread Oliver Upton
To date, VMM-directed TSC synchronization and migration has been a bit messy. KVM has some baked-in heuristics around TSC writes to infer if the VMM is attempting to synchronize. This is problematic, as it depends on host userspace writing to the guest's TSC within 1 second of the last write. A