Hi, first add this to your vm configuration:
<timer name='tsc' present='yes' mode='native'/>
On my gaming VM important sections look like this. Don't ask me why it is so. I've spent years of making a perfect gaming VM 🙂
<features>
<acpi/>
<apic/>
<hyperv mode='custom'>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<synic state='on'/>
<stimer state='on'/>
<reset state='on'/>
<vendor_id state='on' value='1234567890ab'/>
<frequencies state='on'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state='off'/>
<ioapic driver='kvm'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='off'>
<topology sockets='1' dies='1' cores='8' threads='2'/>
<cache mode='passthrough'/>
</cpu>
<clock offset='localtime'>
<timer name='hypervclock' present='yes'/>
<timer name='hpet' present='no'/>
<timer name='tsc' present='yes' mode='native'/>
</clock>
Also check tsc time is working correctly on host:
Check your system log and if you see something like:
x86/split lock detection: #AC: CPU 0/KVM/17187 took a split_lock trap at address: 0xfffff80556c4f75d
Then try solution from here: