lkml.org 
[lkml]   [2022]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH v5 029/104] KVM: TDX: allocate/free TDX vcpu structure
From
On 3/4/22 20:48, isaku.yamahata@intel.com wrote:
> + /*
> + * In TDX case, tsc frequency is per-VM and determined by the parameter
> + * tdh_mng_init(). Forcibly set it instead of max_tsc_khz set by
> + * kvm_arch_vcpu_create().
> + *
> + * This function is called after kvm_arch_vcpu_create() calling
> + * kvm_set_tsc_khz().
> + */
> + kvm_set_tsc_khz(vcpu, kvm_tdx->tsc_khz);
> +

I think this is not needed anymore, now that there is
kvm->arch.default_tsc_khz. If so, exporting the function is not needed
either.

Paolo

\
 
 \ /
  Last update: 2022-04-06 01:09    [W:1.267 / U:1.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site