summary refs log tree commit diff stats
path: root/hw/virtio/vhost-shadow-virtqueue.c
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-03-14 18:34:48 +0100
committerJason Wang <jasowang@redhat.com>2022-03-15 13:57:44 +0800
commit9376bde894e444ebe2d2ec236569b6e55faa4765 (patch)
tree7614e324760bf584f6f72fac5381cf7c260123d1 /hw/virtio/vhost-shadow-virtqueue.c
parent100890f7cad502b6fa49465ffff287ba79fcf94b (diff)
downloadfocaccia-qemu-9376bde894e444ebe2d2ec236569b6e55faa4765.tar.gz
focaccia-qemu-9376bde894e444ebe2d2ec236569b6e55faa4765.zip
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 'hw/virtio/vhost-shadow-virtqueue.c')
0 files changed, 0 insertions, 0 deletions