summaryrefslogtreecommitdiffstats
path: root/arch/x86/include
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2014-02-28 12:52:55 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-03-04 11:50:54 +0100
commit332967a3eac06f6379283cf155c84fe7cd0537c2 (patch)
treed217992b4a019e4aeecc246bca3a1afbbbaee2f3 /arch/x86/include
parent7e44e4495a398eb553ce561f29f9148f40a3448f (diff)
downloadblackbird-obmc-linux-332967a3eac06f6379283cf155c84fe7cd0537c2.tar.gz
blackbird-obmc-linux-332967a3eac06f6379283cf155c84fe7cd0537c2.zip
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 9aa09d330a4b..85be627ef5de 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -599,6 +599,7 @@ struct kvm_arch {
u64 master_kernel_ns;
cycle_t master_cycle_now;
struct delayed_work kvmclock_update_work;
+ struct delayed_work kvmclock_sync_work;
struct kvm_xen_hvm_config xen_hvm_config;
OpenPOWER on IntegriCloud