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

82 commits

Author SHA1 Message Date
425eb561e2 update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
8b60af92af vfio: increase logging verbosity
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
eb96afc2ec code cleanups
- Use C++ style comments
- Harmonize indentions
- Harmonize comment capitalization

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:36:38 +01:00
fbfbf578bf general code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:36:38 +01:00
013e07b9ba use C++ style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
2f6f0d31a1 vfio: fix hot reset using the wron fd
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
8f281e35f2 remove lib/kernel/vfio.cpp as it is not needed anymore
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
83ecfe16d2 improve vfio cleanup; fix potential segfault in graph/directed.hpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
bd1a7d7538 vfio: fix group not being set as attached
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
b135a4c027 refactor vfio code. split into 3 files and remove friedship between classes
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
eb45f7a0ab kernel/vfio: improve cleanup
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-28 02:36:38 +01:00
Niklas Eiling
80268bc5fb kernel: fix unsafe use of readlink 2024-02-28 02:36:38 +01:00
af6e760bcb code style fixes 2024-02-28 02:36:38 +01:00
7703f9e23a minor fixes for VILLASfpga 2024-02-28 02:36:38 +01:00
53e62a6cfc relicense under Apache 2.0 2024-02-28 02:36:38 +01:00
f1fd77651c updated mail address 2024-02-28 02:36:38 +01:00
3d83e71838 update copyright year 2024-02-28 02:36:38 +01:00
e53f65ccc5 remove support for Darwin/macOS 2024-02-28 02:36:38 +01:00
f6caa4f2d5 port large parts to C++ 2024-02-28 02:36:38 +01:00
2e9cd09028 use C++ code-style 2024-02-28 02:36:38 +01:00
a281e5583f vfio: make compatible with 32bit compilation 2024-02-28 02:36:38 +01:00
6062610a63 update copyright year 2024-02-28 02:36:38 +01:00
0aeb9b471b kernel: refactor naming style 2024-02-28 02:36:38 +01:00
2ccda908c9 kernel: check if process is running in a containerized environment 2024-02-28 02:36:38 +01:00
3a47bfa870 drop legacy logger 2024-02-28 02:36:38 +01:00
1e8b6ac8f0 musl compatability fixes 2024-02-28 02:36:38 +01:00
c7a2709d18 fix compiler warning about uninitialized struct fields 2024-02-28 02:36:38 +01:00
eb81ab4545 minor fixes for affinity code 2024-02-28 02:36:38 +01:00
8ad3ac265b rt: add kernel::rt::setThreadPriority() 2024-02-28 02:36:38 +01:00
70a616c12d fix a lot of cppcheck warnings and errors 2024-02-28 02:36:38 +01:00
06c0bd8870 add more nullptr checks after memory allocations 2024-02-28 02:36:38 +01:00
dba74c9ec9 vfio: fix compilation for ARM targets 2024-02-28 02:36:38 +01:00
a3d19f1353 refactor: more code-style improvements 2024-02-28 02:36:38 +01:00
138dabb899 vfio: move to new namespace 2024-02-28 02:36:38 +01:00
14013ac3e4 pci: port to C++ 2024-02-28 02:36:38 +01:00
a24efde5fb harmonize codestyle 2024-02-28 02:36:38 +01:00
89fe9545e0 vfio: fix mapping and remove legacy code 2024-02-28 02:36:38 +01:00
8fe3e1997e handle failed memory allocations 2024-02-28 02:36:38 +01:00
e90431aa98 more refactoring to C++ 2024-02-28 02:36:38 +01:00
fd3e387cc8 refactor malloc()/free() by new/delete 2024-02-28 02:36:38 +01:00
4d91b8a547 refactor malloc()/free() by new/delete 2024-02-28 02:36:38 +01:00
6779eaf02a update copyright year to 2020 2024-02-28 02:36:38 +01:00
71a9855053 fix return code of kernel_set_nr_hugepages() 2024-02-28 02:36:38 +01:00
4b54fec2ab fixes for armhf and aarch64 compatability 2024-02-28 02:36:38 +01:00
a59584dcf9 fix dangling bracket 2024-02-28 02:36:38 +01:00
cd5f0effa4 fix typo and add an example for running in privileged mode 2024-02-28 02:36:38 +01:00
root
a082c54b3f docker changes 2024-02-28 02:36:38 +01:00
5fed872b8a replace C-style headers with C++ C-compatability headers 2024-02-28 02:36:38 +01:00
Hatim Kanchwala
dfccc24da5 Warn when kernel booted without IOMMU 2024-02-28 02:36:37 +01:00
Hatim Kanchwala
93f5ddd4f4 Automatically load required kernel modules 2024-02-28 02:36:37 +01:00