x86: kvm: introduce periodic global clock updates
authorAndrew Jones <drjones@redhat.com>
Fri, 28 Feb 2014 11:52:55 +0000 (12:52 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Mar 2014 10:50:54 +0000 (11:50 +0100)
commit332967a3eac06f6379283cf155c84fe7cd0537c2
treed217992b4a019e4aeecc246bca3a1afbbbaee2f3
parent7e44e4495a398eb553ce561f29f9148f40a3448f
x86: kvm: introduce periodic global clock updates

commit 0061d53daf26f introduced a mechanism to execute a global clock
update for a vm. We can apply this periodically in order to propagate
host NTP corrections. Also, if all vcpus of a vm are pinned, then
without an additional trigger, no guest NTP corrections can propagate
either, as the current trigger is only vcpu cpu migration.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c