]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf77da8975f2e07018e12c61647ec55f3ce2d1b90
treed217992b4a019e4aeecc246bca3a1afbbbaee2f3
parent37e21d6f189cfedb257d7e2295967ae0de08ba6d
x86: kvm: introduce periodic global clock updates

commit a6cffff09aa8c 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