diff options
| author | 2025-08-22 21:25:14 +0000 | |
|---|---|---|
| committer | 2025-08-27 12:14:10 -0600 | |
| commit | d1a17495bb878542898d7ca4aa8fde29423a8ee0 (patch) | |
| tree | bb755cc1149c8c2fe4de5099f3c70a011ac751a5 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | vfio: selftests: Add vfio_type1v2_mode (diff) | |
| download | wireguard-linux-d1a17495bb878542898d7ca4aa8fde29423a8ee0.tar.xz wireguard-linux-d1a17495bb878542898d7ca4aa8fde29423a8ee0.zip | |
vfio: selftests: Add iommufd_compat_type1{,v2} modes
Add new IOMMU modes for using iommufd in compatibility mode with
VFIO_TYPE1_IOMMU and VFIO_TYPE1v2_IOMMU.
In these modes, VFIO selftests will open /dev/iommu and treats it as a
container FD (as if it had opened /dev/vfio/vfio) and the kernel
translates the container ioctls to iommufd calls transparently.
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20250822212518.4156428-28-dmatlack@google.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
