From 322cdf963994d7607b3f59f35811a15259c8bbd7 Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Fri, 1 Mar 2024 14:11:55 +0100 Subject: [PATCH] fpga: do not create the vfio container twice Signed-off-by: Niklas Eiling --- lib/nodes/fpga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index 30b9b0efe..dabdc3314 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -251,7 +251,7 @@ int FpgaNodeFactory::start(SuperNode *sn) { if (cards.empty()) { auto searchPath = sn->getConfigPath().substr(0, sn->getConfigPath().rfind("/")); - createCards(sn->getConfig(), cards, searchPath); + createCards(sn->getConfig(), cards, searchPath, vfioContainer); } return NodeFactory::start(sn);