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: Fix build failures on some host platforms 2017-05-11 09:45:15 +10:00
pnv_occ.h pnv: Fix build failures on some host platforms 2017-05-11 09:45:15 +10:00
pnv_psi.h ppc/pnv: Add cut down PSI bridge model and hookup external interrupt 2017-04-26 12:00:42 +10:00
pnv_xscom.h ppc/pnv: Add OCC model stub with interrupt support 2017-04-26 12:00:42 +10:00
pnv.h pnv: Fix build failures on some host platforms 2017-05-11 09:45:15 +10:00
ppc4xx.h
ppc_e500.h
ppc.h
spapr_cpu_core.h spapr: add node-id property to sPAPR core 2017-05-11 16:08:48 -03:00
spapr_drc.h spapr: Clean up DRC set_isolation_state() path 2017-06-30 14:03:32 +10:00
spapr_ovec.h spapr: Workaround for broken radix guests 2017-04-26 12:00:41 +10:00
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