summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-06-11 17:16:10 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-06-12 11:46:19 +0100
commit3114a97ba188895daff4a3d337b2c73855d4632d (patch)
tree32c8d2887b43e2746e9da12d1c9590f24a9356aa /nova/openstack
parent573ada525b8a7384398a8d7d5f094f343555df56 (diff)
downloadnova-3114a97ba188895daff4a3d337b2c73855d4632d.tar.gz
nova-3114a97ba188895daff4a3d337b2c73855d4632d.tar.xz
nova-3114a97ba188895daff4a3d337b2c73855d4632d.zip
Update default policies for KVM guest PIT & RTC timers
The default policies for the KVM guest PIT and RTC timers are not very good at maintaining reliable time in guest operating systems. In particular Windows 7 guests will often crash with the default KVM timer policies, and old Linux guests will have very bad time drift Set the PIT such that missed ticks are injected at the normal rate, ie they are delayed Set the RTC such that missed ticks are injected at a higher rate to "catch up" This corresponds to the following libvirt XML <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> </clock> And the following KVM options -no-kvm-pit-reinjection -rtc base=utc,driftfix=slew This should provide a default configuration that works acceptably for most OS types. In the future this will likely need to be made configurable per-guest OS type. Fixes LP bug #1011848 Change-Id: Iafb0e2192b5f3c05b6395ffdfa14f86a98ce3d1f Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions