Re: [Xen-devel] [PATCH 3/4] x86: provide and use hv_tsc_scale

2019-12-21 Thread Durrant, Paul
> -Original Message- > From: Wei Liu On Behalf Of Wei Liu > Sent: 20 December 2019 19:52 > To: Xen Development List > Cc: Michael Kelley ; Durrant, Paul > ; Wei Liu ; Paul Durrant > ; Jan Beulich ; Andrew Cooper > ; Wei Liu ; Roger Pau Monné > > Subject: [PATCH 3/4] x86: provide and use

[Xen-devel] [PATCH 3/4] x86: provide and use hv_tsc_scale

2019-12-20 Thread Wei Liu
The Hyper-V clock source and Xen's own viridian code need the same functionality. Move the function in viridian/time.c to hyperv.h and use it in both places. No functional change. Signed-off-by: Wei Liu --- xen/arch/x86/hvm/viridian/time.c | 30 ++--