fix: correctly write to log when a kernel older than 6.2 is detected
This commit is contained in:
parent
cbc49c768e
commit
74fa194a30
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ func vfio_modules() []string {
|
|||
kernel_re := regexp.MustCompile(`^(6\.1|6\.0|[1-5]\.)`)
|
||||
if kernel_re.MatchString(sysinfo.Kernel) {
|
||||
// Write to the debug log
|
||||
logger.Printf("Linux kernel version %s detected!\nIncluding vfio_virqfd module\n")
|
||||
logger.Printf("Linux kernel version %s detected!\nIncluding vfio_virqfd module\n", sysinfo.Kernel)
|
||||
|
||||
// Include the vfio_virqfd module
|
||||
// NOTE: this driver was merged into the vfio module in 6.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue