diff options
author | Yan Zhao <yan.y.zhao@intel.com> | 2020-03-24 09:27:57 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-03-24 09:27:57 -0600 |
commit | 8d46c0cca5f4dc0538173d62cd36b1119b5105bc (patch) | |
tree | dbeb3f92e8a28045d331ec68f4e7dafe8075b08c /lib | |
parent | c0560f51cf77472f4ed113539b0a02ca6cda7961 (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions