diff options
author | Andrew Jones <drjones@redhat.com> | 2014-02-28 15:52:55 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-04 14:50:54 +0400 |
commit | 332967a3eac06f6379283cf155c84fe7cd0537c2 (patch) | |
tree | d217992b4a019e4aeecc246bca3a1afbbbaee2f3 /arch/x86/include/asm/kvm_host.h | |
parent | 7e44e4495a398eb553ce561f29f9148f40a3448f (diff) | |
download | linux-332967a3eac06f6379283cf155c84fe7cd0537c2.tar.xz |
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/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
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; |