Re: [PATCH v11 19/20] x86/kvmclock: Skip kvmclock when Secure TSC is available

From: Nikunj A. Dadhania
Date: Tue Oct 01 2024 - 10:37:02 EST




On 10/1/2024 9:56 AM, Nikunj A. Dadhania wrote:


> Also I realized that, for the guests, instead of rdtsc(), we should be
> calling rdtsc_ordered() to make sure that time moves forward even when
> vCPUs are migrated.

The above is with reference to native_sched_clock() being used for VM
instead of kvm_sched_clock_read() when using TSC.

Regards
Nikunj