diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2022-03-14 18:34:49 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-03-15 13:57:44 +0800 |
commit | 193d17be0b84cce87db4426622cd4e6b827cae2a (patch) | |
tree | 1b834015c8ef48efd5dcc5a11de3010d70e6011e /util/systemd.c | |
parent | 9376bde894e444ebe2d2ec236569b6e55faa4765 (diff) |
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 'util/systemd.c')
0 files changed, 0 insertions, 0 deletions