KVM: x86: update masterclock when kvmclock_offset is calculated (v2)
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Aug 2013 02:55:29 +0000 (23:55 -0300)
committerGleb Natapov <gleb@redhat.com>
Wed, 28 Aug 2013 14:36:11 +0000 (17:36 +0300)
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>

No differences found