summary refs log tree commit diff
path: root/host/rootfs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-03-21 14:01:07 +0000
committerAlyssa Ross <hi@alyssa.is>2022-03-22 08:34:04 +0000
commitd55913426b0f26d8c586bc1fdd0e4cdb73d77777 (patch)
treeee4da83e28542c6b3b044dea3ea99b46f37bab9c /host/rootfs
parentcf7e089a907439c6293f85bc46e9c9f6319d7509 (diff)
downloadspectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar.gz
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar.bz2
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar.lz
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar.xz
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.tar.zst
spectrum-d55913426b0f26d8c586bc1fdd0e4cdb73d77777.zip
host/rootfs: remove unnecessary modprobes
Now that we're using a proper modprobe implementation, some of these
weird modprobes we shouldn't have needed in the first place can
actually be removed.

Message-Id: <20220321140107.1043654-2-hi@alyssa.is>
Tested-by: Ville Ilvonen <ville.ilvonen@unikie.com>
Diffstat (limited to 'host/rootfs')
-rwxr-xr-xhost/rootfs/etc/mdev/net/add5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/rootfs/etc/mdev/net/add b/host/rootfs/etc/mdev/net/add
index 959d73a..7b282e7 100755
--- a/host/rootfs/etc/mdev/net/add
+++ b/host/rootfs/etc/mdev/net/add
@@ -5,10 +5,7 @@
 # Assign the whole IOMMU group containing this device to the network
 # VM.
 
-if {
-  forx -pE module { vfio-pci vfio_iommu_type1 }
-  modprobe $module
-}
+if { modprobe vfio-pci }
 
 importas -i devpath DEVPATH