summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-02-22 16:02:39 -0700
committerAlex Williamson <alex.williamson@redhat.com>2016-02-22 16:10:09 -0700
commit28541d41c9e04cb2ddbf93facd1e376dd5613360 (patch)
treebfd5234a1dadc51d7f73cd69f36ebb71e7df224f /tools
parentc7bb4cb40f89224dc55755178343728e30dd583a (diff)
vfio/pci: Add infrastructure for additional device specific regions
Add support for additional regions with indexes started after the already defined fixed regions. Device specific code can register these regions with the new vfio_pci_register_dev_region() function. The ops structure per region currently only includes read/write access and a release function, allowing automatic cleanup when the device is closed. mmap support is only missing here because it's not needed by the first user queued for this support. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions