]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: fix SMP
authorSasha Levin <levinsasha928@gmail.com>
Mon, 17 Sep 2012 08:03:35 +0000 (10:03 +0200)
committerPekka Enberg <penberg@kernel.org>
Tue, 18 Sep 2012 07:33:17 +0000 (10:33 +0300)
commit0ea45505dd5997581452e60d5467f9165417e584
tree4b156dd0dad33c31eca2502e89513c77beddd2a6
parent8074303ab7b2598d4f3fca9bc52f290401523dd8
kvm tools: fix SMP

We accidently broke SMP when we moved mptable init to before we initialize the vcpu
count, that means that we always built smptable which was not properly initialized
for the given configuration.

Instead of initializing mptable as part of the kvm arch initialization, let it
be initialized on it's own in the firmware initialization level.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/x86/kvm.c
tools/kvm/x86/mptable.c