diff options
author | Peter Xu <peterx@redhat.com> | 2017-02-07 16:28:04 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-02-17 21:52:31 +0200 |
commit | 4a4b88fbe1a95e80a2e29830e69e1deded407fc1 (patch) | |
tree | 55c80d32ce92256d4e2d62a961d4ff198f327580 /replication.h | |
parent | 3213835720f0b79ea60ead8e81f356695a446d1d (diff) |
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 'replication.h')
0 files changed, 0 insertions, 0 deletions