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

make "getOrAttachGroup" public

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2024-08-02 14:41:56 +00:00 committed by Niklas Eiling
parent 74155d9685
commit 2d9bb26847

View file

@ -47,6 +47,7 @@ public:
void dump();
void attachGroup(std::shared_ptr<Group> group);
std::shared_ptr<Group> getOrAttachGroup(int index);
std::shared_ptr<Device> attachDevice(const std::string &name, int groupIndex);
std::shared_ptr<Device> attachDevice(pci::Device &pdev);
@ -65,8 +66,6 @@ public:
bool isIommuEnabled() const { return this->hasIommu; }
private:
std::shared_ptr<Group> getOrAttachGroup(int index);
int fd;
int version;