diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2023-03-07 12:54:43 +0000 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-03-07 07:20:32 -0700 |
commit | 4ead830848e1f2571ca759ee6734bccd6e2ba3a6 (patch) | |
tree | a36b6193ae290afe822f157550ec7d0055545c19 /qobject | |
parent | b92f237635054189ae10c0c98aeec9f982f1335f (diff) | |
download | qemu-4ead830848e1f2571ca759ee6734bccd6e2ba3a6.zip qemu-4ead830848e1f2571ca759ee6734bccd6e2ba3a6.tar.gz qemu-4ead830848e1f2571ca759ee6734bccd6e2ba3a6.tar.bz2 |
vfio/common: Add helper to consolidate iova/end calculation
In preparation to be used in device dirty tracking, move the code that
calculate a iova/end range from the container/section. 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>
Link: https://lore.kernel.org/r/20230307125450.62409-9-joao.m.martins@oracle.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions