From 413e2ed246fb17c80494d4ee7f3ec4c324c2164e Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Wed, 27 Sep 2017 14:34:14 +0100 Subject: [PATCH] cc-check: Only warn if nesting not available KVM nesting support is not strictly necessary, so warn rather than erroring if not available. Fixes #281. Signed-off-by: James O. D. Hunt --- cc-check.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cc-check.go b/cc-check.go index 870ab330..908c97b4 100644 --- a/cc-check.go +++ b/cc-check.go @@ -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++ }