No hpet option added for time drifting of windows guest os

Registered by John Haan

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='delay'/>
<timer name='rtc' tickpolicy='catchup'/>
</clock>

To this template,

<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup' track='guest'/>
<timer name='pit' tickpolicy='delay'/>
<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:
milestone icon 2014.1
Started by
Russell Bryant
Completed by
John Haan

Related branches

Sprints

Whiteboard

"The KVM developers have been recommending that all guests use -no-hpet" from http://www.redhat.com/archives/libvir-list/2010-June/msg00192.html

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://review.openstack.org/#q,topic:bp/add-no-hpet-option-into-guest-clock,n,z

Addressed by: https://review.openstack.org/69066
    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://review.openstack.org/63769
    Add hpet option for time drifting

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.