summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPeter Xu2017-02-07 09:28:04 +0100
committerMichael S. Tsirkin2017-02-17 20:52:31 +0100
commit4a4b88fbe1a95e80a2e29830e69e1deded407fc1 (patch)
tree55c80d32ce92256d4e2d62a961d4ff198f327580 /include/exec
parentvfio: trace map/unmap for notify as well (diff)
downloadqemu-4a4b88fbe1a95e80a2e29830e69e1deded407fc1.tar.gz
qemu-4a4b88fbe1a95e80a2e29830e69e1deded407fc1.tar.xz
qemu-4a4b88fbe1a95e80a2e29830e69e1deded407fc1.zip
vfio: introduce vfio_get_vaddr()
A cleanup for vfio_iommu_map_notify(). Now we will fetch vaddr even if the operation is unmap, but it won't hurt much. One thing to mention is that we need the RCU read lock to protect the whole translation and map/unmap procedure. Acked-by: Alex Williamson <alex.williamson@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Peter Xu <peterx@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions