mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Fix VFIO logger names
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
This commit is contained in:
parent
a4e93a271b
commit
7e70d0e60b
3 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ Container::Container() :
|
|||
iova_next(0),
|
||||
hasIommu(false),
|
||||
groups(),
|
||||
log(logging.get("kernel:vfio::Container"))
|
||||
log(logging.get("kernel:vfio:container"))
|
||||
{
|
||||
for (const char* module : requiredKernelModules) {
|
||||
if (kernel::loadModule(module) != 0) {
|
||||
|
|
|
@ -56,7 +56,7 @@ Device::Device(const std::string &name, int groupFileDescriptor,
|
|||
const kernel::pci::Device *pci_device)
|
||||
: name(name), fd(-1), attachedToGroup(false), groupFd(groupFileDescriptor),
|
||||
info(), irqs(), regions(), mappings(), pci_device(pci_device),
|
||||
log(logging.get("kernel:vfio::Device")) {
|
||||
log(logging.get("kernel:vfio:device")) {
|
||||
if (groupFileDescriptor < 0)
|
||||
throw RuntimeError("Invalid group file descriptor");
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ using namespace villas::kernel::vfio;
|
|||
|
||||
Group::Group(int index, bool iommuEnabled)
|
||||
: fd(-1), index(index), attachedToContainer(false), status(), devices(),
|
||||
log(logging.get("kernel:vfio::Group")) {
|
||||
log(logging.get("kernel:vfio:group")) {
|
||||
// Open group fd
|
||||
std::stringstream groupPath;
|
||||
groupPath << VFIO_PATH << (iommuEnabled ? "" : "noiommu-") << index;
|
||||
|
|
Loading…
Add table
Reference in a new issue