Skip to content

Commit b6b85ab

Browse files
committed
Removed dependence on IOMMU groups in unvme-setup script
This allows the use of VFIO with no-iommu support.
1 parent 215d71e commit b6b85ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/unvme-setup

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ errx() {
4848
vfio_check() {
4949
modprobe vfio-pci
5050
[ $? -ne 0 ] && exit 1
51-
if [ -z "$(ls /sys/kernel/iommu_groups)" ]; then
52-
echo "/sys/kernel/iommu_groups is empty"
53-
errx "UNVMe requires VFIO, IOMMU, and VT-d enabled"
54-
fi
5551
}
5652

5753
#

0 commit comments

Comments
 (0)