kvm: clear kvmclock MSR on reset
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Oct 2019 10:49:22 +0000 (12:49 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 11:31:22 +0000 (13:31 +0200)
commit49dedf0dd0da073b3a0146a62c768887aea13508
tree83ac79249db79a9f58568c709ca94af6f8fe4b43
parentb4fdcf6056d9057fe762bd6d8060e3ab9949efea
kvm: clear kvmclock MSR on reset

After resetting the vCPU, the kvmclock MSR keeps the previous value but it is
not enabled.  This can be confusing, so fix it.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c