No hpet option added for time drifting of windows guest os
Since havana, the timezone of windows vm is localtime.
However, there is a time drifting when the windows vm is got overload.
We need to add --no-hpet option into libvirt xml configuration.
From this template,
<clock offset='utc'>
<timer name='pit' tickpolicy=
<timer name='rtc' tickpolicy=
</clock>
To this template,
<clock offset='localtime'>
<timer name='rtc' tickpolicy=
<timer name='pit' tickpolicy=
<timer name='hpet' present='no'/>
</clock>
Blueprint information
- Status:
- Complete
- Approver:
- Russell Bryant
- Priority:
- Low
- Drafter:
- John Haan
- Direction:
- Approved
- Assignee:
- John Haan
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
- Implemented
- Milestone target:
- 2014.1
- Started by
- Russell Bryant
- Completed by
- John Haan
Whiteboard
"The KVM developers have been recommending that all guests use -no-hpet" from http://
I also checked with danpb (libvirt maintainer) on IRC about this and he confirms this is a good default:
<danpb> russellb: ok confirmed, recommendation is for hpet disabled
<danpb> so we're good to use it for a default
--russellb
I couldn't find a code review for this, so I'm removing "Needs Code Review" on this. If there is a patch, please add a link to it on the whiteboard. --russellb
Gerrit topic: https:/
Addressed by: https:/
Disable HPET Explicitly for VMs in KVM
I modified commit message according to the wiki. Please review this code again. --John Haan
Addressed by: https:/
Add hpet option for time drifting