Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Commit

Permalink
cc-check: Only warn if nesting not available
Browse files Browse the repository at this point in the history
KVM nesting support is not strictly necessary, so warn rather than
erroring if not available.

Fixes #281.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Sep 27, 2017
1 parent c761552 commit 413e2ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cc-check.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ func checkKernelModules(modules map[string]kernelModule) (count uint32, err erro
continue
}

if param == "nested" {
ccLog.Warn(msg)
continue
}

ccLog.Error(msg)
count++
}
Expand Down

0 comments on commit 413e2ed

Please sign in to comment.