qemu/include
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
..
block include: Clean up includes 2016-02-23 12:43:05 +00:00
crypto include: Clean up includes 2016-02-23 12:43:05 +00:00
disas disas: Add print_insn to disassemble info 2015-07-09 15:20:40 +02:00
exec exec: Pass RAMBlock pointer to qemu_ram_free 2016-03-07 13:26:37 +01:00
fpu include: Clean up includes 2016-02-23 12:43:05 +00:00
hw vfio: Generalize region support 2016-03-10 20:03:16 -07:00
io include: Clean up includes 2016-02-23 12:43:05 +00:00
libdecnumber include: Clean up includes 2016-02-23 12:43:05 +00:00
migration migration (ordinary): move bdrv_invalidate_cache_all of of coroutine context 2016-02-26 20:39:50 +05:30
monitor qom: add helpers for UserCreatable object types 2016-02-16 17:12:57 +01:00
net filter: Add 'status' property for filter object 2016-03-08 15:34:18 +08:00
qapi include: Clean up includes 2016-02-23 12:43:05 +00:00
qemu typedefs: Add CPUState 2016-03-01 13:27:09 +00:00
qom typedefs: Add CPUState 2016-03-01 13:27:09 +00:00
standard-headers linux-headers: update from kvm/next 2015-12-17 15:24:34 +01:00
sysemu rng: switch request queue to QSIMPLEQ 2016-03-08 12:54:14 +05:30
ui input: linux evdev support 2016-03-08 12:20:11 +01:00
config.h include: Clean up includes 2016-02-23 12:43:05 +00:00
elf.h include: Clean up includes 2016-02-23 12:43:05 +00:00
glib-compat.h glib: add compatibility interface for g_hash_table_add() 2015-10-30 09:01:03 +01:00
qemu-common.h cutils: add avx2 instruction optimization 2016-03-08 16:53:26 +05:30
qemu-io.h qemu-io: Use BlockBackend 2015-02-16 15:07:19 +00:00
qjson.h QJSON: Add JSON writer 2015-02-05 17:16:14 +01:00
trace-tcg.h
trace.h