> -Original Message-
> From: Jan Beulich [mailto:jbeul...@suse.com]
> Sent: 13 June 2019 15:47
> To: Paul Durrant
> Cc: Andrew Cooper ; Roger Pau Monne
> ; xen-devel de...@lists.xenproject.org>; WeiLiu
> Subject: Re: [PATCH] viridian: unify time sources
>
> >>> On 11.06.19 at 19:01, w
>>> On 11.06.19 at 19:01, wrote:
> @@ -77,6 +76,7 @@ static void update_reference_tsc(struct domain *d, bool
> initialize)
> * ticks per 100ns shifted left by 64.
> */
> p->TscScale = ((1ul << 32) / d->arch.tsc_khz) << 32;
> +p->TscOffset = trc->off;
> smp_wmb();
Ev
Currently, the time_ref_count enlightened time source maintains an offset
such that time is frozen when the domain paused, but the reference_tsc
enlightened time source does not. After migrate, the reference_tsc source
may become invalidated (e.g. because of host cpu frequency mismatch) which
will