mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hvf: remove TSC synchronization code because it isn't fully complete
The existing code in QEMU's HVF support to attempt to synchronize TSC across multiple cores is not sufficient. TSC value on other cores can go backwards. Until implementation is fixed, remove calls to hv_vm_sync_tsc(). Pass through TSC to guest OS. Signed-off-by: Cameron Esfahani <dirty@apple.com> Message-Id: <44c4afd2301b8bf99682b229b0796d84edd6d66f.1574625592.git.dirty@apple.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fbafbb6db7
commit
9fedbbeeee
3 changed files with 1 additions and 9 deletions
|
@ -772,9 +772,6 @@ void simulate_wrmsr(struct CPUState *cpu)
|
|||
|
||||
switch (msr) {
|
||||
case MSR_IA32_TSC:
|
||||
/* if (!osx_is_sierra())
|
||||
wvmcs(cpu->hvf_fd, VMCS_TSC_OFFSET, data - rdtscp());
|
||||
hv_vm_sync_tsc(data);*/
|
||||
break;
|
||||
case MSR_IA32_APICBASE:
|
||||
cpu_set_apic_base(X86_CPU(cpu)->apic_state, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue