memory: Introduce memory_region_iommu_set_iova_ranges
commit51478a8ef5694cbd92b9a3436ec4489464210a8e
authorEric Auger <eric.auger@redhat.com>
Thu, 19 Oct 2023 13:45:08 +0000 (19 15:45 +0200)
committerCédric Le Goater <clg@redhat.com>
Fri, 3 Nov 2023 08:20:31 +0000 (3 09:20 +0100)
treecdc14fcd69a6520fc02d8795b9f6a6c0b3074308
parente8f433f80e831ecd81989ae0246f3f1e2d3ac480
memory: Introduce memory_region_iommu_set_iova_ranges

This helper will allow to convey information about valid
IOVA ranges to virtual IOMMUS.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: "Michael S. Tsirkin" <mst@redhat.com>
[ clg: fixes in memory_region_iommu_set_iova_ranges() and
       iommu_set_iova_ranges() documentation ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
include/exec/memory.h
system/memory.c