diff options
| author | Maxim Levitsky <[email protected]> | 2022-02-23 11:56:49 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-02-24 18:04:47 +0000 |
| commit | e910a53fb4f20aa012e46371ffb4c32c8da259b4 (patch) | |
| tree | 4ff0d732247af754aa78461f9206dd3afd157943 /drivers/fpga/altera-fpga2sdram.c | |
| parent | KVM: x86/mmu: make apf token non-zero to fix bug (diff) | |
| download | kernel-e910a53fb4f20aa012e46371ffb4c32c8da259b4.tar.gz kernel-e910a53fb4f20aa012e46371ffb4c32c8da259b4.zip | |
KVM: x86: nSVM: disallow userspace setting of MSR_AMD64_TSC_RATIO to non default value when tsc scaling disabled
If nested tsc scaling is disabled, MSR_AMD64_TSC_RATIO should
never have non default value.
Due to way nested tsc scaling support was implmented in qemu,
it would set this msr to 0 when nested tsc scaling was disabled.
Ignore that value for now, as it causes no harm.
Fixes: 5228eb96a487 ("KVM: x86: nSVM: implement nested TSC scaling")
Cc: [email protected]
Signed-off-by: Maxim Levitsky <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
