Sebastiaan
4f6d505f7e
Merge pull request #16 from w23/patch-1
...
fix qemu script to run a single $HOOKPATH file
2 years ago
Ivan Avdeev
0410193a20
fix qemu script to run a single $HOOKPATH file
...
A missing space typo prevented detecting presence and validity of a single file at `$HOOKPATH`.
2 years ago
Sebastiaan
abfce8d755
Merge pull request #15 from basharkey/env-bash
...
switch shebang to use environment bash
2 years ago
basharkey
a1715591ca
switch shebang to use environment bash
2 years ago
Sebastiaan
1166bbe123
More instructions
3 years ago
Sebastiaan
8e101eb257
Cosmetics
3 years ago
Sebastiaan
7380ff7301
Add a better hugepages script
...
This one actually does have a function.
3 years ago
Sebastiaan
c8c7ed0e5b
Add a comment about how the hugepages allocation script is pointless nowadays and shouldn't be used.
...
Arch wiki can eat my boot (it's still the best resource though)
3 years ago
Sebastiaan
27b769cf96
Merge pull request #14 from Xelibix/patch-1
...
Correct Log Mistake
3 years ago
Xelibix
601115589c
Correct Log Mistake
...
I made small correction of my last PR
3 years ago
Sebastiaan
a0e886c4d2
Merge pull request #13 from Xelibix/fix-folders
...
Fixes nice.sh wrong folder
3 years ago
Xelibix
72ba34e636
Fixes nice.sh wrong folder
3 years ago
Sebastiaan
b20f965dd2
Merge pull request #10 from jolan/jolan_fixquoting
...
adjust quoting and fix empty directory case
4 years ago
jolan
947d90b334
adjust quoting and fix empty directory case
...
This fixes "/etc/libvirt/hooks/qemu: line 27: : command not found"
errors that have been reported due to extraneous quoting. It also
fixes a case where an empty directory would trigger an attempt to
interpret a null string as a hook script. Added some extra
validation for the single script case as well.
4 years ago
Trent Arcuri
adeea220d8
Merge pull request #9 from bsherman/patch-1
...
Fixes hugepages.sh attempting to read sys device dir as file
4 years ago
Benjamin Sherman
57b48906b2
Fix bug with hugepages sys dir
...
Corrects an error such as this:
/etc/libvirt/hooks/qemu.d/MYVM/prepare/begin/hugepages.sh: line 42: /sys/devices/system/node/node0/hugepages: Is a directory
4 years ago
Shoelaceman
663e8f2061
Move a logging function away from other functions, comment what it does
4 years ago
Shoelaceman
f9b4e1c294
Fixed inconsistency in whitespacing
4 years ago
Shoelaceman
58971c6a37
Fix inconsistent tabbing
4 years ago
Shoelaceman
3a0a6e772c
Merge alloc_hugepages, and unalloc_hugepages into one script, add checks and logging
4 years ago
Shoelaceman
5a33a6d62d
Update author line, update docs
4 years ago
Shoelaceman
79bbd97000
Light code cleanup/restructure
4 years ago
Shoelaceman
6e5d0ca3b1
Check if any hugepages are allocated before unallocating them
4 years ago
Shoelaceman
89ff109d24
Make unalloc_hugepages.sh executable
4 years ago
Sebastiaan Meijer
13b41ce4ef
Fix an oopsie
4 years ago
Sebastiaan Meijer
a2c83ac81d
Rework hook helper script to hopefully be more reliable
4 years ago
Sebastiaan
75ba39b6b9
Merge pull request #5 from kdrag0n/more-example-hooks
...
Add more example hooks
5 years ago
Danny Lin
99af92bfc4
hooks: Add CFS nice level adjustment hook
...
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
5 years ago
Danny Lin
4ac47a2517
hooks: Add cset CPU isolation hook
...
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
5 years ago
Trent Arcuri
d403f0efcb
Remove commented lines of code
6 years ago
Trent Arcuri
f5705ad48c
Merge pull request #3 from Stefsinn/master
...
Adding scripts for auto-allocation of HugePages
6 years ago
Stefsinn
78fc3c7211
Update fstab.txt
6 years ago
Stefsinn
569620f735
Add fstab entries
...
Adding the fstab entries necessary to allocate HugePages automatically.
6 years ago
Stefan Erdmann
a431046500
Adding scripts for auto-allocation of HugePages
6 years ago
Shoelaceman
3484ed711a
Fixed binding/unbinding, fully functional now
6 years ago
Trent Arcuri
2f2d9251e6
Merge pull request #2 from mdPlusPlus/master
...
Removing spaces between IDs, because they result in error message (invalid parameter)
6 years ago
Trent Arcuri
9ed2ab87f2
Adjust truncate command in makefile()
...
Truncate -1 since whitespaces are no longer appended
6 years ago
mdPlusPlus
73755fdd23
removing spaces between IDs, because they result in error message (invalid parameter)
6 years ago
Trent Arcuri
d831a132ef
Adjusted binding method
6 years ago
Trent Arcuri
a0489e443d
Adjusted binding method
6 years ago
Trent Arcuri
db4274a2ce
Fix for multiple similar IDs
6 years ago
Trent Arcuri
f416d1ca74
Tweaked output format, continue fix for same ID on multiple devices, fixed trailing comma bug
6 years ago
Trent Arcuri
4bfe1cdf93
Tweaked output format, begin fix for same ID on multiple devices
6 years ago
Trent Arcuri
dcb8170709
Tweaked output format, begin fix for same ID on multiple devices
6 years ago
Trent Arcuri
1c6f57ffc5
Tweaked output format, begin fix for same ID on multiple devices
6 years ago
tkoham
966e4c1495
Update README.md
6 years ago
Trent Arcuri
01b2a12a01
Moved vfioselect, last commit: Tweaked bind function
6 years ago
Sebastiaan Meijer
4dc20d5d00
Update README.md
...
Signed-off-by: Sebastiaan Meijer <sebastiaan@passthroughpo.st>
6 years ago
Sebastiaan Meijer
1c72eb71f6
Update README.md
...
Signed-off-by: Sebastiaan Meijer <sebastiaan@passthroughpo.st>
6 years ago
Sebastiaan Meijer
e969bc084f
Max search depth should be 1
...
Signed-off-by: Sebastiaan Meijer <sebastiaan@passthroughpo.st>
6 years ago