qemu-e2k/include/hw
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
..
acpi migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
adc
arm hw/arm/exynos: Move DRAM initialization next boards 2017-06-13 14:56:57 +01:00
audio audio: Rename hw/audio/audio.h to hw/audio/soundhw.h 2017-05-19 10:48:54 +02:00
block
char char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
core
cpu
cris
display
dma
gpio
i2c
i386 q35/mch: implement extended TSEG sizes 2017-06-16 18:07:08 +03:00
ide
input ps2: add and use PS2State typedef 2017-06-23 11:51:50 +02:00
intc hw/intc/arm_gicv3_its: Implement state save/restore 2017-06-13 14:57:00 +01:00
ipack
ipmi ipmi: introduce an ipmi_bmc_gen_event() API 2017-04-26 12:41:55 +10:00
isa isa: use get_uint() for "io-base" 2017-06-20 14:31:32 +02:00
kvm
lm32
m68k
mem
mips hw/mips: add missing include 2017-06-04 18:42:55 +03:00
misc introduce mmio_interface 2017-06-27 15:09:15 +02:00
net net/ftgmac100: add a 'aspeed' property 2017-04-25 19:17:25 +08:00
nvram
pci migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
pci-host q35/mch: implement extended TSEG sizes 2017-06-16 18:07:08 +03:00
ppc spapr: Clean up DRC set_isolation_state() path 2017-06-30 14:03:32 +10:00
s390x s390x/css: fence off MIDA 2017-06-06 10:17:11 +02:00
scsi
sd
sh4
smbios
sparc
ssi
timer qtest: add rtc periodic timer test 2017-06-06 20:18:35 +02:00
tricore
unicore32
usb
vfio vfio/ccw: vfio based subchannel passthrough driver 2017-05-19 12:29:01 +02:00
virtio vhost-user-scsi: Introduce vhost-user-scsi host device 2017-06-15 11:18:40 +02:00
watchdog
xen xen/9pfs: build and register Xen 9pfs backend 2017-04-25 11:04:33 -07:00
boards.h machine: call machine init from wrapper 2017-05-11 16:08:50 -03:00
bt.h
compat.h migration: move skip_section_footers 2017-06-28 11:18:39 +02:00
devices.h sm501: QOMify 2017-04-24 12:32:12 +01:00
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h migration: Split qemu-file.h 2017-06-01 18:49:22 +02:00
ide.h
irq.h
loader-fit.h
loader.h
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: avoid type casts between signed and unsigned 2017-06-20 14:31:32 +02:00
qdev-dma.h
qdev-properties.h accel: introduce AccelClass.global_props 2017-06-28 11:18:38 +02:00
qdev.h
register.h
registerfields.h
stream.h
sysbus.h
usb.h