mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10.git
synced 2026-09-09 00:07:04 +08:00
vfio: selftests: Make iommufd the default iommu_mode
JIRA: https://issues.redhat.com/browse/RHEL-118213 commit 8afcbe20476ad238fd1f331f51d721138eff5172 Author: David Matlack <dmatlack@google.com> Date: Fri Aug 22 21:25:16 2025 +0000 vfio: selftests: Make iommufd the default iommu_mode Now that VFIO selftests support iommufd, make it the default mode. IOMMUFD is the successor to VFIO_TYPE1{,v2}_IOMMU and all new features are being added there, so it's a slightly better fit as the default mode. Acked-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: David Matlack <dmatlack@google.com> Link: https://lore.kernel.org/r/20250822212518.4156428-30-dmatlack@google.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
This commit is contained in:
@@ -437,7 +437,7 @@ static const struct vfio_iommu_mode iommu_modes[] = {
|
||||
},
|
||||
};
|
||||
|
||||
const char *default_iommu_mode = "vfio_type1_iommu";
|
||||
const char *default_iommu_mode = "iommufd";
|
||||
|
||||
static const struct vfio_iommu_mode *lookup_iommu_mode(const char *iommu_mode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user