We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 380c875 commit 3f93435Copy full SHA for 3f93435
internal/configs/configs.go
@@ -221,7 +221,7 @@ func vfio_modules() []string {
221
222
// If we are on a kernel older than 6.2
223
sysinfo := uname.New()
224
- kernel_re := regexp.MustCompile(`^(6\.1|6\.0|[1-5]\.)`)
+ kernel_re := regexp.MustCompile(`^(6\.1|6\.0|[1-5]\.\d{1,2})\.`)
225
if kernel_re.MatchString(sysinfo.Kernel) {
226
// Write to the debug log
227
logger.Printf("Linux kernel version %s detected!\nIncluding vfio_virqfd module\n", sysinfo.Kernel)
0 commit comments