summaryrefslogtreecommitdiffstats
path: root/arch/x86/entry/vdso/vclock_gettime.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-09-01 15:44:57 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-09-20 09:26:13 +0200
commit67198ac3f37ffb150f1c95fae16b597339eabc9d (patch)
tree4f064871db7e22b547d0916c9a61ee1599a28c73 /arch/x86/entry/vdso/vclock_gettime.c
parentKVM: x86: always fill in vcpu->arch.hv_clock (diff)
downloadlinux-67198ac3f37ffb150f1c95fae16b597339eabc9d.tar.xz
linux-67198ac3f37ffb150f1c95fae16b597339eabc9d.zip
KVM: x86: initialize kvmclock_offset
Make the guest's kvmclock count up from zero, not from the host boot time. The guest cannot rely on that anyway because it changes on migration, the numbers are easier on the eye and finally it matches the desired semantics of the Hyper-V time reference counter. Reviewed-by: Roman Kagan <rkagan@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/entry/vdso/vclock_gettime.c')
0 files changed, 0 insertions, 0 deletions