commit | 2e762ff79fd0793cfa71d3913e2eb664b7b11031 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Tue Aug 27 23:55:29 2013 -0300 |
committer | Gleb Natapov <gleb@redhat.com> | Wed Aug 28 17:36:11 2013 +0300 |
tree | 0c8dd496830d9cf7e16e17b0e0a2cb7454175859 | |
parent | 0912c9771e9902f752e890e93af495cc06a786ac [diff] |
KVM: x86: update masterclock when kvmclock_offset is calculated (v2) The offset to add to the hosts monotonic time, kvmclock_offset, is calculated against the monotonic time at KVM_SET_CLOCK ioctl time. Request a master clock update at this time, to reduce a potentially unbounded difference between the values of the masterclock and the clock value used to calculate kvmclock_offset. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>