mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-19 21:29:49 +00:00
It was decided that when TSC scaling is not supported, the virtual MSR_AMD64_TSC_RATIO should still have the default '1.0' value. However in this case kvm_max_tsc_scaling_ratio is not set, which breaks various assumptions. Fix this by always calculating kvm_max_tsc_scaling_ratio regardless of host support. For consistency, do the same for VMX. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com> Message-Id: <20220322172449.235575-8-mlevitsk@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
|---|---|---|
| .. | ||
| avic.c | ||
| hyperv.h | ||
| nested.c | ||
| pmu.c | ||
| sev.c | ||
| svm_onhyperv.c | ||
| svm_onhyperv.h | ||
| svm_ops.h | ||
| svm.c | ||
| svm.h | ||
| vmenter.S | ||