aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorEugenio Pérez <eperezma@redhat.com>2022-03-14 18:34:49 +0100
committerJason Wang <jasowang@redhat.com>2022-03-15 13:57:44 +0800
commit193d17be0b84cce87db4426622cd4e6b827cae2a (patch)
tree1b834015c8ef48efd5dcc5a11de3010d70e6011e /hw/virtio
parent9376bde894e444ebe2d2ec236569b6e55faa4765 (diff)
downloadqemu-193d17be0b84cce87db4426622cd4e6b827cae2a.zip
qemu-193d17be0b84cce87db4426622cd4e6b827cae2a.tar.gz
qemu-193d17be0b84cce87db4426622cd4e6b827cae2a.tar.bz2
util: add iova_tree_find_iova
This function does the reverse operation of iova_tree_find: To look for a mapping that match a translated address so we can do the reverse. This have linear complexity instead of logarithmic, but it supports overlapping HVA. Future developments could reduce it. Signed-off-by: Eugenio Pérez <eperezma@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/virtio')
0 files changed, 0 insertions, 0 deletions