Guest Time drift

From Proxmox VE
Revision as of 10:16, 3 April 2012 by Alexandre Derumier (talk | contribs) (Created page with "{{Note|Article about Proxmox VE 2.0}} Some tips if you have time drifts (mainly for windows) http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_H…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Yellowpin.svg Note: Article about Proxmox VE 2.0

Some tips if you have time drifts (mainly for windows)

http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/chap-Virtualization_Host_Configuration_and_Guest_Installation_Guide-KVM_guest_timing_management.html


WIN XP - WIN2003

Using the Real-Time Clock with Windows Server 2003 and Windows XP guests


Windows uses the both the Real-Time Clock (RTC) and the Time Stamp Counter (TSC).

For Windows guests the Real-Time Clock can be used instead of the TSC for all time sources which resolves guest timing issues.

To enable the Real-Time Clock for the PMTIMER clock source (the PMTIMER usually uses the TSC), add the following option to the Windows boot settings.

Windows boot settings are stored in the boot.ini file.


Add the following option to the end of the Windows boot line in the boot.ini file:

/usepmtimer

WIN VISTA - WIN7 - WIN2008

Open the Windows guest.

Open the Accessories menu of the start menu. Right click on the Command Prompt application, select Run as Administrator.

Confirm the security exception, if prompted.

Set the boot manager to use the platform clock. This should instruct Windows to use the PM timer for the primary clock source. The system UUID ({default} in the example below) should be changed if the system UUID is different than the default boot device.

C:\Windows\system32>bcdedit /set {default} USEPLATFORMCLOCK on