[pve-devel] timedrift on win7/2008 with hpet timer

Dietmar Maurer dietmar at proxmox.com
Thu Apr 5 12:38:20 CEST 2012


ok, fixed it.

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Alexandre DERUMIER
> Sent: Dienstag, 03. April 2012 17:02
> To: pve-devel at pve.proxmox.com
> Subject: [pve-devel] timedrift on win7/2008 with hpet timer
> 
> Hi,
> 
> users reports some time drifts problem with win7 and win2008 guests.
> http://forum.proxmox.com/threads/8943-Time-running-fast-after-upgrading-
> to-PVE-2-final
> 
> from wikipedia:
> http://en.wikipedia.org/wiki/High_Precision_Event_Timer
> 
> not able to use HPET: Windows XP sp2,[note 2] Windows Server 2003, and
> earlier Windows versions  able to use HPET: Windows XP sp3,Windows 2008,
> Windows Vista, Windows 7
> 
> The problem seem to be that HPET timer doesn't have timedrift compensation in
> current kvm
> 
> I also check on the redhat side, they disable hpet by default (-no-hpet) since
> 2010
> https://bugzilla.redhat.com/show_bug.cgi?id=595130
> 
> 
> default redhat libvirt config for timers:
> 
> 
> <clock mode="localtime">
> 	<timer name="rtc" tickpolicy="catchup" wallclock="guest" />
> 	<timer name="pit" tickpolicy="none" />
> 	<timer name="hpet" present="no" />
> </clock>
> 
> give
> 
> 
>    -clock base=localtime,clock=guest,driftfix=slew
>    -no-kvm-pit-reinjection
>    -no-hpet
> 
> 
> maybe could it good to add  -no-kvm-pit-reinjection -no-hpet by default for
> win7,win2008 guests ?
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel





More information about the pve-devel mailing list