qemu/include/hw/ppc
Bharata B Rao 4a4b344c7c xics,xics_kvm: Handle CPU unplug correctly
XICS is setup for each CPU during initialization. Provide a routine
to undo the same when CPU is unplugged. While here, move ss->cs management
into xics from xics_kvm since there is nothing KVM specific in it.
Also ensure xics reset doesn't set irq for CPUs that are already unplugged.

This allows reboot of a VM that has undergone CPU hotplug and unplug
to work correctly.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-06-17 16:33:48 +10:00
..
mac_dbdma.h macio: call dma_memory_unmap() at the end of each DMA transfer 2016-06-14 10:43:24 +10:00
openpic.h hw: cannot include hw/hw.h from user emulation 2016-05-19 16:42:28 +02:00
ppc.h ppc: use PowerPCCPU instead of CPUPPCState 2016-05-19 16:42:27 +02:00
ppc4xx.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
ppc_e500.h intc/openpic: Build openpic only once 2013-07-09 21:33:02 +02:00
spapr.h spapr: Ensure all LMBs are represented in ibm,dynamic-memory 2016-06-14 13:20:01 +10:00
spapr_drc.h spapr_drc: enable immediate detach for unsignalled devices 2016-04-05 10:47:03 +10:00
spapr_vio.h hw: do not use VMSTATE_*TL 2016-05-19 16:42:28 +02:00
xics.h xics,xics_kvm: Handle CPU unplug correctly 2016-06-17 16:33:48 +10:00