Skip to content
Commit f422f853 authored by Paul Durrant's avatar Paul Durrant Committed by Sean Christopherson
Browse files

KVM: x86/xen: update Xen CPUID Leaf 4 (tsc info) sub-leaves, if present



The scaling information in subleaf 1 should match the values set by KVM in
the 'vcpu_info' sub-structure 'time_info' (a.k.a. pvclock_vcpu_time_info)
which is shared with the guest, but is not directly available to the VMM.
The offset values are not set since a TSC offset is already applied.
The TSC frequency should also be set in sub-leaf 2.

Signed-off-by: default avatarPaul Durrant <pdurrant@amazon.com>
Reviewed-by: default avatarDavid Woodhouse <dwmw@amazon.co.uk>
Link: https://lore.kernel.org/r/20230106103600.528-3-pdurrant@amazon.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 48639df8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment