[PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-19 Thread Paolo Bonzini
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

[PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-19 Thread Paolo Bonzini
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

Re: [PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:13PM +0200, Paolo Bonzini wrote: > 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

Re: [PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-02 Thread Roman Kagan
On Thu, Sep 01, 2016 at 05:26:13PM +0200, Paolo Bonzini wrote: > 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

[PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-01 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini

[PATCH 2/4] KVM: x86: initialize kvmclock_offset

2016-09-01 Thread Paolo Bonzini
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. Signed-off-by: Paolo Bonzini ---