Re: [PATCH v2 09/11] x86/kvmclock: Use Secure TSC as clock if available

From: Nikunj A. Dadhania
Date: Wed Apr 05 2023 - 04:17:11 EST


On 4/4/2023 3:15 AM, Tom Lendacky wrote:
> On 3/26/23 09:46, Nikunj A Dadhania wrote:
>> For AMD SNP guests having Secure TSC enabled, use Secure TSC based
>> clocksource instead of kvmclock.
>
> This patch only results in skipping the initialization of KVM clock, it doesn't cause Secure TSC to be used as the clocksource.
>

Will update the commit message and reorder with 10/11. After making TSC reliable and skipping kvmclock, secure tsc is used as clocksource.

Regards
Nikunj