Re: [PATCH 02/10] x86: split populating of struct vcpu_time_info into a separate function

2023-01-17 Thread Jan Beulich
On 17.01.2023 21:19, Andrew Cooper wrote: > On 19/10/2022 8:39 am, Jan Beulich wrote: >> This is to facilitate subsequent re-use of this code. >> >> While doing so add const in a number of places, extending to >> gtime_to_gtsc() and then for symmetry also its inverse function. >> >> Signed-off-by:

Re: [PATCH 02/10] x86: split populating of struct vcpu_time_info into a separate function

2023-01-17 Thread Andrew Cooper
On 19/10/2022 8:39 am, Jan Beulich wrote: > This is to facilitate subsequent re-use of this code. > > While doing so add const in a number of places, extending to > gtime_to_gtsc() and then for symmetry also its inverse function. > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper > --- > I

[PATCH 02/10] x86: split populating of struct vcpu_time_info into a separate function

2022-10-19 Thread Jan Beulich
This is to facilitate subsequent re-use of this code. While doing so add const in a number of places, extending to gtime_to_gtsc() and then for symmetry also its inverse function. Signed-off-by: Jan Beulich --- I was on the edge of also folding the various is_hvm_domain() into a function scope b