summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/mdev
diff options
context:
space:
mode:
authorYan Zhao <yan.y.zhao@intel.com>2020-03-24 16:27:57 +0100
committerAlex Williamson <alex.williamson@redhat.com>2020-03-24 16:27:57 +0100
commit8d46c0cca5f4dc0538173d62cd36b1119b5105bc (patch)
treedbeb3f92e8a28045d331ec68f4e7dafe8075b08c /drivers/vfio/mdev
parentvfio: allow external user to get vfio group from device (diff)
downloadlinux-8d46c0cca5f4dc0538173d62cd36b1119b5105bc.tar.xz
linux-8d46c0cca5f4dc0538173d62cd36b1119b5105bc.zip
vfio: introduce vfio_dma_rw to read/write a range of IOVAs
vfio_dma_rw will read/write a range of user space memory pointed to by IOVA into/from a kernel buffer without enforcing pinning the user space memory. TODO: mark the IOVAs to user space memory dirty if they are written in vfio_dma_rw(). Cc: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Yan Zhao <yan.y.zhao@intel.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/mdev')
0 files changed, 0 insertions, 0 deletions