qemu-e2k/include/hw/ppc
David Gibson 0dfabd39d5 spapr: Clean up DRC set_isolation_state() path
There are substantial differences in the various paths through
set_isolation_state(), both for setting to ISOLATED versus UNISOLATED
state and for logical versus physical DRCs.

So, split the set_isolation_state() method into isolate() and unisolate()
methods, and give it different implementations for the two DRC types.

Factor some minimal common checks, including for valid indicator values
(which we weren't previously checking) into rtas_set_isolation_state().

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-06-30 14:03:32 +10:00
..
fdt.h
mac_dbdma.h
openpic.h
pnv_core.h
pnv_lpc.h
pnv_occ.h
pnv_psi.h
pnv_xscom.h
pnv.h
ppc4xx.h
ppc_e500.h
ppc.h
spapr_cpu_core.h
spapr_drc.h spapr: Clean up DRC set_isolation_state() path 2017-06-30 14:03:32 +10:00
spapr_ovec.h
spapr_rtas.h
spapr_vio.h
spapr.h spapr: fix migration of ICPState objects from/to older QEMU 2017-06-30 14:03:31 +10:00
xics.h xics: drop ICPStateClass::cpu_setup() handler 2017-06-09 12:17:59 +10:00