>>> On 22.06.15 at 18:37, <elena.ufimts...@oracle.com> wrote: > --- a/xen/arch/x86/time.c > +++ b/xen/arch/x86/time.c > @@ -1923,6 +1923,7 @@ void tsc_set_info(struct domain *d, > * but "always_emulate" does not for some reason. Figure out > * why. > */ > + d->arch.tsc_khz = cpu_khz; > switch ( tsc_mode ) > { > case TSC_MODE_NEVER_EMULATE:
Considering that it's vcpu_tsc_ratio() that wants this set, I don't think doing this here (and hence depending on this function being called early enough / at all) is appropriate. Instead I think this should be done in SVM's vCPU initialization. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel