diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2022-03-14 18:34:48 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-03-15 13:57:44 +0800 |
commit | 9376bde894e444ebe2d2ec236569b6e55faa4765 (patch) | |
tree | 7614e324760bf584f6f72fac5381cf7c260123d1 /stubs | |
parent | 100890f7cad502b6fa49465ffff287ba79fcf94b (diff) |
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: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions