commit | b7e60c5aedd2b63f16ef06fde4f81ca032211bc5 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Thu May 28 20:20:41 2015 -0300 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri May 29 14:02:40 2015 +0200 |
tree | 5ed2d58c9692d940077a9851c823d7aeedf22813 | |
parent | 0ad83caa21bff9f383c10e73b452425709573042 [diff] |
KVM: x86: zero kvmclock_offset when vcpu0 initializes kvmclock system MSR Initialize kvmclock base, on kvmclock system MSR write time, so that the guest sees kvmclock counting from zero. This matches baremetal behaviour when kvmclock in guest sets sched clock stable. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> [Remove unnecessary comment. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>