[PATCH v1] dts: update modprobe command to be privileged

Andrew Bailey abailey at iol.unh.edu
Fri Apr 3 20:35:19 CEST 2026


The command to modprobe VFIO-PCI will not work without a privileged
command. This patch makes this change.

Bugzilla ID: 1924
Fixes: 1175f18ab85d ("dts: automate VFIO modprobe in node setup")

Signed-off-by: Andrew Bailey <abailey at iol.unh.edu>
---
 dts/framework/testbed_model/linux_session.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/framework/testbed_model/linux_session.py b/dts/framework/testbed_model/linux_session.py
index ee943462c2..63856ad9b5 100644
--- a/dts/framework/testbed_model/linux_session.py
+++ b/dts/framework/testbed_model/linux_session.py
@@ -245,7 +245,7 @@ def load_vfio(self, pf_port: Port) -> None:
                 privileged=True,
             )
         else:
-            self.send_command("modprobe vfio-pci")
+            self.send_command("modprobe vfio-pci", privileged=True)
         self.refresh_lshw()
 
     def create_crypto_vfs(self, pf_port: list[Port]) -> None:
-- 
2.50.1



More information about the dev mailing list