KVM: x86: release kvmclock page on reset
authorGlauber Costa <glommer@redhat.com>
Tue, 1 Feb 2011 19:16:40 +0000 (14:16 -0500)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:28 +0000 (13:08 -0300)
commit12f9a48f7bf5bfe6620b03028a865f26a10e1fce
tree03062791d7f1c24809bb1bebcd84c3fae4c9b80b
parentf58c9df78c0360f0eb3852b9cc3a61e689bc2dd1
KVM: x86: release kvmclock page on reset

When a vcpu is reset, kvmclock page keeps being written to this days.
This is wrong and inconsistent: a cpu reset should take it to its
initial state.

Signed-off-by: Glauber Costa <glommer@redhat.com>
CC: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c