Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行 kvm/qemu 的 Windows VM,它正在经历时间漂移。Windows 来宾的最佳 libvirt 设置是什么?
目前我正在使用它,但它没有帮助:
<clock offset='localtime'> <timer name='rtc' tickpolicy='catchup' track='guest'> <catchup threshold='123' slew='120' limit='10000'/> </timer> </clock>
这对我有用:
<clock offset='localtime'> <timer name='rtc' tickpolicy='catchup' track='guest'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock>
您还需要确保 Windows 在启动时使用平台时钟:
bcdedit /set USEPLATFORMCLOCK on