User Tools

Site Tools


sosdg:kvm:wintiming

Fixing Windows Timing Issues

In Windows XP/2003, add “/usepmtimer” to the end of the boot line.

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect /usepmtimer

In Windows 2008/2008 R2, in an admin command prompt, run:

bcdedit /set {default} USEPLATFORMCLOCK on

In the KVM host, use 'virsh edit (domain name here)' and add/change the following:

<domain type='kvm'>

to

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>

remove the clock lines already there, and add to the bottom before the closing domain stanza:

<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup' track='guest'/>
<timer name='hpet' present='no'/>
</clock>
<qemu:commandline>
<qemu:arg value='-rtc-td-hack'/>
</qemu:commandline>

Notes taken from:

RedHat KVM Guest Timing Management

KVM/QEMU Hypervisor Driver

sosdg/kvm/wintiming.txt · Last modified: 2013/04/09 17:57 by brielle