KVM: SVM: always set MSR_AMD64_TSC_RATIO to default value
commit3e4546d5bd38a1e98d4bd2de48631abf0398a3a2
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 23 Feb 2022 11:58:24 +0000 (23 13:58 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Mar 2022 10:50:50 +0000 (15 11:50 +0100)
treef9f6a198ba6933946267a3a8f331f6f14267fc28
parent12cab535db6440af41ed8dfefe908a594321b6ce
KVM: SVM: always set MSR_AMD64_TSC_RATIO to default value

Even when the feature is not supported in guest CPUID,
still set the msr to the default value which will
be the only value KVM will accept in this case

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220223115824.319821-1-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c