On Mon, Oct 27, 2025 at 04:13:05PM -0700, David Matlack wrote:
On Mon, Oct 13, 2025 at 8:44 AM Leon Romanovsky leon@kernel.org wrote: This uAPI would be a good candidate for a VFIO selftest. You can test that it returns an error when it's supposed to, and a valid fd when it's supposed to. And once the iommufd importer side is ready, we can extend the test and verify that the fd can be mapped into iommufd.
No problem, I'll add such test, but let's focus on making sure that this series is accepted first.
Along similar lines, perhaps adding vfio as src/vfio_memory.c dmabuf provider to perftest [1] could be useful for low-level end-to-end validation.