diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2023-03-07 12:54:40 +0000 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-03-07 07:20:32 -0700 |
commit | fbc6c92134048cef7a9317119da4b6beea03138e (patch) | |
tree | a409ee74552ddc28eebfae03630651ad7fb15783 /hw/vfio/meson.build | |
parent | 725ccd7e419d640ebee4c3869235efea070764de (diff) | |
download | qemu-fbc6c92134048cef7a9317119da4b6beea03138e.zip qemu-fbc6c92134048cef7a9317119da4b6beea03138e.tar.gz qemu-fbc6c92134048cef7a9317119da4b6beea03138e.tar.bz2 |
vfio/common: Add helper to validate iova/end against hostwin
Move the code that finds the container host DMA window against a iova
range. This avoids duplication on the common checks across listener
callbacks.
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Link: https://lore.kernel.org/r/20230307125450.62409-6-joao.m.martins@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/meson.build')
0 files changed, 0 insertions, 0 deletions