KVM: ia64: Correct itc_offset calculations
authorJes Sorensen <jes@sgi.com>
Mon, 25 May 2009 08:22:17 +0000 (10:22 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:42 +0000 (08:32 +0300)
commit3032b925f00ba2653f7695d356d6f8284c82038d
tree8f9523d50b3afe8ed3d426964a26dd70e54c2e9a
parentc5ff41ce66382d657a76bc06ba252d848826950f
KVM: ia64: Correct itc_offset calculations

Init the itc_offset for all possible vCPUs. The current code by
mistake ends up only initializing the offset on vCPU 0.

Spotted by Gleb Natapov.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by : Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c