Skip to content
Snippets Groups Projects
Commit 9376bde8 authored by Eugenio Pérez's avatar Eugenio Pérez Committed by Jason Wang
Browse files

util: Add iova_tree_alloc_map


This iova tree function allows it to look for a hole in allocated
regions and return a totally new translation for a given translated
address.

It's usage is mainly to allow devices to access qemu address space,
remapping guest's one into a new iova space where qemu can add chunks of
addresses.

Signed-off-by: default avatarEugenio Pérez <eperezma@redhat.com>
Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
Acked-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
parent 100890f7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment