From 4824669a8df42eddffc1eea4088f13da1c826250 Mon Sep 17 00:00:00 2001 From: Nitesh Konkar Date: Mon, 11 Jun 2018 02:40:43 +0530 Subject: [PATCH] cli: Fix TestCheckCLIFunctionFail failure on ppc64le Fixes: #380 Signed-off-by: Nitesh Konkar --- cli/kata-check_ppc64le.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cli/kata-check_ppc64le.go b/cli/kata-check_ppc64le.go index 152303876c..e628c2cf39 100644 --- a/cli/kata-check_ppc64le.go +++ b/cli/kata-check_ppc64le.go @@ -44,6 +44,12 @@ func archHostCanCreateVMContainer() error { // hostIsVMContainerCapable checks to see if the host is theoretically capable // of creating a VM container. func hostIsVMContainerCapable(details vmContainerCapableDetails) error { + + _, err := getCPUInfo(details.cpuInfoFile) + if err != nil { + return err + } + count, err := checkKernelModules(details.requiredKernelModules, archKernelParamHandler) if err != nil { return err