mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-15 22:53:43 +00:00
cli: Fix TestCheckCLIFunctionFail failure on ppc64le
Fixes: #380 Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
This commit is contained in:
parent
bb0488e70a
commit
4824669a8d
@ -44,6 +44,12 @@ func archHostCanCreateVMContainer() error {
|
|||||||
// hostIsVMContainerCapable checks to see if the host is theoretically capable
|
// hostIsVMContainerCapable checks to see if the host is theoretically capable
|
||||||
// of creating a VM container.
|
// of creating a VM container.
|
||||||
func hostIsVMContainerCapable(details vmContainerCapableDetails) error {
|
func hostIsVMContainerCapable(details vmContainerCapableDetails) error {
|
||||||
|
|
||||||
|
_, err := getCPUInfo(details.cpuInfoFile)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
count, err := checkKernelModules(details.requiredKernelModules, archKernelParamHandler)
|
count, err := checkKernelModules(details.requiredKernelModules, archKernelParamHandler)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user