]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Move CPU initialization to kvm_cpu__start()
authorPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:48:01 +0000 (13:48 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:49:53 +0000 (13:49 +0300)
commitbf60c782ee2b16034f31131149a071c48a732d55
tree4258a0050bca42b14a594ba8a496a671dbcc73e2
parentf7ee04391d30eaf3cd00c4cab439b3d27e61636a
kvm tools: Move CPU initialization to kvm_cpu__start()

Move CPUID setup and CPU reset code to kvm_cpu__start() so that CPU state is
setup in one place.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-cpu.c
tools/kvm/kvm-run.c