[PATCH 1/2 v2] x86: kvm: rate-limit global clock updates

2014-02-28 Thread Andrew Jones
When we update a vcpu's local clock it may pick up an NTP correction. We can't wait an indeterminate amount of time for other vcpus to pick up that correction, so commit 0061d53daf26f introduced a global clock update. However, we can't request a global clock update on every vcpu load either (which

[PATCH 1/2 v2] x86: kvm: rate-limit global clock updates

2014-02-28 Thread Andrew Jones
When we update a vcpu's local clock it may pick up an NTP correction. We can't wait an indeterminate amount of time for other vcpus to pick up that correction, so commit 0061d53daf26f introduced a global clock update. However, we can't request a global clock update on every vcpu load either (which