1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

remove vfio container intitialization from setupFPGACard

this lead to double creation of the vfio container

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
Niklas Eiling 2024-01-03 11:44:32 +01:00 committed by Niklas Eiling
parent 3e74c0d7a4
commit 2d51deea0c

View file

@ -209,7 +209,6 @@ int fpga::createCards(json_t *config,
std::shared_ptr<fpga::Card> fpga::setupFpgaCard(const std::string &configFile,
const std::string &fpgaName) {
auto vfioContainer = std::make_shared<kernel::vfio::Container>();
auto configDir = std::filesystem::path(configFile).parent_path();
// Parse FPGA configuration