* [PATCH v1] dts: update modprobe command to be privileged
@ 2026-04-03 18:35 Andrew Bailey
2026-04-09 13:16 ` Luca Vizzarro
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Bailey @ 2026-04-03 18:35 UTC (permalink / raw)
To: dev, luca.vizzarro
Cc: probb, lylavoie, dmarx, knimoji, ahassick, Andrew Bailey
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-09 13:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 18:35 [PATCH v1] dts: update modprobe command to be privileged Andrew Bailey
2026-04-09 13:16 ` Luca Vizzarro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox