Re: [PATCH V1 19/26] vfio/iommufd: use IOMMU_IOAS_MAP_FILE

2025-02-05 Thread Steven Sistare
On 2/5/2025 12:23 PM, Cédric Le Goater wrote: On 1/29/25 15:43, Steve Sistare wrote: Use IOMMU_IOAS_MAP_FILE when the mapped region is backed by a file. Such a mapping can be preserved without modification during CPR, because it depends on the file's address space, which does not change, rather

Re: [PATCH V1 19/26] vfio/iommufd: use IOMMU_IOAS_MAP_FILE

2025-02-05 Thread Cédric Le Goater
On 1/29/25 15:43, Steve Sistare wrote: Use IOMMU_IOAS_MAP_FILE when the mapped region is backed by a file. Such a mapping can be preserved without modification during CPR, because it depends on the file's address space, which does not change, rather than on the process's address space, which does

[PATCH V1 19/26] vfio/iommufd: use IOMMU_IOAS_MAP_FILE

2025-01-29 Thread Steve Sistare
Use IOMMU_IOAS_MAP_FILE when the mapped region is backed by a file. Such a mapping can be preserved without modification during CPR, because it depends on the file's address space, which does not change, rather than on the process's address space, which does change. Signed-off-by: Steve Sistare -