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

Commit

Permalink
cli: Fix TestCheckCLIFunctionFail failure on ppc64le
Browse files Browse the repository at this point in the history
Fixes: #380

Signed-off-by: Nitesh Konkar <[email protected]>
  • Loading branch information
nitkon committed Jun 10, 2018
1 parent bb0488e commit 4824669
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cli/kata-check_ppc64le.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4824669

Please sign in to comment.