qemu-irix/include/hw
Alex Williamson db0da029a1 vfio: Generalize region support
Both platform and PCI vfio drivers create a "slow", I/O memory region
with one or more mmap memory regions overlayed when supported by the
device. Generalize this to a set of common helpers in the core that
pulls the region info from vfio, fills the region data, configures
slow mapping, and adds helpers for comleting the mmap, enable/disable,
and teardown.  This can be immediately used by the PCI MSI-X code,
which needs to mmap around the MSI-X vector table.

This also changes VFIORegion.mem to be dynamically allocated because
otherwise we don't know how the caller has allocated VFIORegion and
therefore don't know whether to unreference it to destroy the
MemoryRegion or not.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2016-03-10 20:03:16 -07:00
..
acpi vhost, virtio, pci, pc 2016-02-25 12:13:49 +00:00
arm arm: boot: Support big-endian elfs 2016-03-04 11:30:21 +00:00
audio
block include: Clean up includes 2016-02-23 12:43:05 +00:00
char
cpu
cris
gpio i.MX: add support for lower and upper interrupt in GPIO. 2015-12-17 13:37:13 +00:00
i2c
i386 pc: fw_cfg: move ioport base constant to pc.h 2016-03-08 12:14:49 +01:00
input cuda: port SET_DEVICE_LIST command to new framework 2016-02-17 09:59:30 +11:00
intc bcm2836_control: add bcm2836 ARM control logic 2016-02-03 15:00:45 +00:00
ipack
ipmi ipmi: introduce a struct ipmi_sdr_compact 2016-02-06 20:44:09 +02:00
isa include: Clean up includes 2016-02-23 12:43:05 +00:00
kvm
lm32
m68k
mem dimm: Correct type of MemoryHotplugState->base 2016-02-06 20:44:10 +02:00
mips
misc bcm2835_property: implement "get board revision" query 2016-02-11 11:17:32 +00:00
net
nvram fw_cfg: expose control register size in fw_cfg.h 2016-03-08 10:46:30 +01:00
pci include: Clean up includes 2016-02-23 12:43:05 +00:00
pci-host q35: Remove MCHPCIState.guest_info field 2015-12-22 17:45:13 +02:00
ppc xics: report errors with the QEMU Error API 2016-02-28 16:19:02 +11:00
s390x
scsi scsi-generic: grab device and port SAS addresses from backend 2016-02-09 15:45:26 +01:00
sd sdhci: add quirk property for card insert interrupt status on Raspberry Pi 2016-02-26 15:09:42 +00:00
sh4
smbios
sparc
ssi xilinx_spips: Separate the state struct into a header 2016-01-21 14:15:03 +00:00
timer pc: acpi: move HPET from DSDT to SSDT 2016-01-09 23:20:18 +02:00
tricore
unicore32
usb
vfio vfio: Generalize region support 2016-03-10 20:03:16 -07:00
virtio vhost, virtio, pci, pc 2016-02-25 12:13:49 +00:00
watchdog
xen include: Clean up includes 2016-02-23 12:43:05 +00:00
boards.h migration: allow machine to enforce configuration section migration 2016-02-28 16:19:02 +11:00
bt.h
compat.h fw_cfg: unbreak migration compatibility for 2.4 and earlier machines 2016-02-26 10:06:40 +01:00
devices.h
elf_ops.h loader: Add data swap option to load-elf 2016-03-04 11:30:21 +00:00
empty_slot.h
fw-path-provider.h
hotplug.h
hw.h vmstate: define vmstate_info_uinttl 2016-01-16 12:01:23 +00:00
ide.h
irq.h
loader.h loader: Add data swap option to load-elf 2016-03-04 11:30:21 +00:00
nmi.h
pcmcia.h
platform-bus.h
ptimer.h
qdev-core.h include: Clean up includes 2016-02-23 12:43:05 +00:00
qdev-dma.h
qdev-properties.h fdc: Add fallback option 2016-01-25 14:35:23 -05:00
qdev.h
stream.h
sysbus.h
usb.h