Re: [PATCH 04/16] util/vfio-helpers: Report error when IOMMU page size is not supported

2020-10-22 Thread Stefan Hajnoczi
On Tue, Oct 20, 2020 at 07:24:16PM +0200, Philippe Mathieu-Daudé wrote: > This driver uses the host page size to align its memory regions, > but this size is not always compatible with the IOMMU. Add a > check if the size matches, and bails out providing a hint what > is the minimum page size the d

[PATCH 04/16] util/vfio-helpers: Report error when IOMMU page size is not supported

2020-10-20 Thread Philippe Mathieu-Daudé
This driver uses the host page size to align its memory regions, but this size is not always compatible with the IOMMU. Add a check if the size matches, and bails out providing a hint what is the minimum page size the driver should use. Suggested-by: Alex Williamson Signed-off-by: Philippe Mathie