]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd7a96e7a04af4d2d6a1fb4c8dd3eb4ebce87c6c9
tree8f9523d50b3afe8ed3d426964a26dd70e54c2e9a
parent00731bc9e294676a207b534b506c636e401e78af
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