summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2016-02-22 16:02:35 -0700
committerAlex Williamson <alex.williamson@redhat.com>2016-02-22 16:10:08 -0700
commitff63eb638d63b95e489f976428f1df01391e15e4 (patch)
tree8103839511bf4e5353891d41a0a02c2c9e08e34b /drivers/vfio
parentd7a8d5ed876970ac7f9bafbb6708500a7838c1d7 (diff)
downloadlinux-ff63eb638d63b95e489f976428f1df01391e15e4.tar.bz2
vfio: Define sparse mmap capability for regions
We can't always support mmap across an entire device region, for example we deny mmaps covering the MSI-X table of PCI devices, but we don't really have a way to report it. We expect the user to implicitly know this restriction. We also can't split the region because vfio-pci defines an API with fixed region index to BAR number mapping. We therefore define a new capability which lists areas within the region that may be mmap'd. In addition to the MSI-X case, this potentially enables in-kernel emulation and extensions to devices. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions