public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Andrew Bailey <abailey@iol.unh.edu>
To: dev@dpdk.org, luca.vizzarro@arm.com
Cc: probb@iol.unh.edu, lylavoie@iol.unh.edu, dmarx@iol.unh.edu,
	knimoji@iol.unh.edu, ahassick@iol.unh.edu,
	Andrew Bailey <abailey@iol.unh.edu>
Subject: [PATCH v1] dts: update modprobe command to be privileged
Date: Fri,  3 Apr 2026 14:35:19 -0400	[thread overview]
Message-ID: <20260403183519.496825-1-abailey@iol.unh.edu> (raw)

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


             reply	other threads:[~2026-04-03 18:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 18:35 Andrew Bailey [this message]
2026-04-09 13:16 ` [PATCH v1] dts: update modprobe command to be privileged Luca Vizzarro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260403183519.496825-1-abailey@iol.unh.edu \
    --to=abailey@iol.unh.edu \
    --cc=ahassick@iol.unh.edu \
    --cc=dev@dpdk.org \
    --cc=dmarx@iol.unh.edu \
    --cc=knimoji@iol.unh.edu \
    --cc=luca.vizzarro@arm.com \
    --cc=lylavoie@iol.unh.edu \
    --cc=probb@iol.unh.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox