qemu-irix/include/hw
Gavin Shan ee954280da sPAPR: Implement EEH RTAS calls
The emulation for EEH RTAS requests from guest isn't covered
by QEMU yet and the patch implements them.

The patch defines constants used by EEH RTAS calls and adds
callbacks sPAPRPHBClass::{eeh_set_option, eeh_get_state, eeh_reset,
eeh_configure}, which are going to be used as follows:

  * RTAS calls are received in spapr_pci.c, sanity check is done
    there.
  * RTAS handlers handle what they can. If there is something it
    cannot handle and the corresponding sPAPRPHBClass callback is
    defined, it is called.
  * Those callbacks are only implemented for VFIO now. They do ioctl()
    to the IOMMU container fd to complete the calls. Error codes from
    that ioctl() are transferred back to the guest.

[aik: defined RTAS tokens for EEH RTAS calls]
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 15:00:08 +01:00
..
acpi aml-build: comment fix 2015-03-08 11:51:46 +01:00
arm target_arm: Parameterise the irq lines for armv7m_init 2015-02-05 13:37:21 +00:00
audio
block
char serial: Factor out common serial_hds_isa_init() 2015-02-24 00:19:06 +01:00
cpu
cris
i2c
i386 pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
input
intc
ipack
isa pc: export applesmc IO port/len 2015-03-01 12:33:22 +01:00
kvm
lm32 hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
m68k
mem
mips
misc
net
nvram
pci pci: Give a few helpers internal linkage 2015-03-01 12:35:21 +01:00
pci-host sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
ppc sPAPR: Implement EEH RTAS calls 2015-03-09 15:00:08 +01:00
s390x
scsi
sh4
sparc QOM infrastructure fixes and device conversions 2015-03-02 13:20:43 +00:00
timer
tricore
unicore32
usb
vfio vfio: allow to disable MMAP per device with -x-mmap=off option 2015-03-02 11:38:55 -07:00
virtio virtio: add feature checking helpers 2015-02-26 13:04:07 +01:00
xen
boards.h
bt.h
compat.h
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h
ide.h
irq.h
loader.h hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h qdev: support to get a device firmware path directly 2015-02-11 21:47:51 +01:00
qdev-dma.h
qdev-properties.h qdev: Don't exit when running into bad -global 2015-02-26 12:42:18 +01:00
qdev.h
sd.h
ssi.h
stream.h
sysbus.h
usb.h hmp: Name HMP info handler functions hmp_info_SUBCOMMAND() 2015-02-18 11:58:50 +01:00