summary refs log tree commit diff stats
path: root/scripts/qapi/parser.py
diff options
context:
space:
mode:
authorJoao Martins <joao.m.martins@oracle.com>2023-03-07 12:54:40 +0000
committerAlex Williamson <alex.williamson@redhat.com>2023-03-07 07:20:32 -0700
commitfbc6c92134048cef7a9317119da4b6beea03138e (patch)
treea409ee74552ddc28eebfae03630651ad7fb15783 /scripts/qapi/parser.py
parent725ccd7e419d640ebee4c3869235efea070764de (diff)
downloadfocaccia-qemu-fbc6c92134048cef7a9317119da4b6beea03138e.tar.gz
focaccia-qemu-fbc6c92134048cef7a9317119da4b6beea03138e.zip
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 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions