hypervisor: do not get and set MSR_IA32_TSC for MSHV
Setting that MSR causes the reference TSC page to be disabled. Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
d3a8332282
commit
2e2ce47271
1 changed files with 0 additions and 1 deletions
|
|
@ -703,7 +703,6 @@ impl cpu::Vcpu for MshvVcpu {
|
|||
msr!(msr_index::MSR_LSTAR),
|
||||
msr!(msr_index::MSR_KERNEL_GS_BASE),
|
||||
msr!(msr_index::MSR_SYSCALL_MASK),
|
||||
msr!(msr_index::MSR_IA32_TSC),
|
||||
msr_data!(msr_index::MSR_MTRRdefType, MTRR_ENABLE | MTRR_MEM_TYPE_WB),
|
||||
]
|
||||
.to_vec()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue