kvm-ppc: halt secondary cpus when guest reset
commit157feeadbaec09fe4dca539a24f6f6d327d6eeb6
authorLiu Yu-B13201 <Yu.Liu@freescale.com>
Mon, 28 Nov 2011 20:41:18 +0000 (28 20:41 +0000)
committerAlexander Graf <agraf@suse.de>
Tue, 3 Jan 2012 14:48:20 +0000 (3 15:48 +0100)
treeb0ef63c538ce89faa6f1e2576cd2edac56182db2
parent33bcd98c4e9fe0866807bef6253a057c82087539
kvm-ppc: halt secondary cpus when guest reset

When guest reset, we need to halt secondary cpus until guest kick them.
This already works for tcg. The patch add the support for kvm.

Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
[agraf: remove in-kernel irqchip code]
hw/ppce500_spin.c
target-ppc/kvm.c