summaryrefslogtreecommitdiffstats
path: root/.exrc
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-03-10 09:39:07 -0700
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:36 -0600
commit1b0a4a9e676550070cea2ee504c1b6fec4d55829 (patch)
tree9c08189ee97803f1f19c13beb9278a2e7056aa3e /.exrc
parent4e8949aca8a64450fbb2c63c01ca97cd8ed6362c (diff)
downloadhqemu-1b0a4a9e676550070cea2ee504c1b6fec4d55829.zip
hqemu-1b0a4a9e676550070cea2ee504c1b6fec4d55829.tar.gz
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>
Diffstat (limited to '.exrc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud