diff --git a/src/runtime/cli/kata-env.go b/src/runtime/cli/kata-env.go index 12afdd6491..193368f4b5 100644 --- a/src/runtime/cli/kata-env.go +++ b/src/runtime/cli/kata-env.go @@ -9,7 +9,6 @@ import ( "encoding/json" "errors" "os" - runtim "runtime" "strings" "github.com/BurntSushi/toml" @@ -223,9 +222,6 @@ func getHostInfo() (HostInfo, error) { } hostVMContainerCapable := true - if runtim.GOARCH == "ppc64le" { - hostVMContainerCapable = false - } details := vmContainerCapableDetails{ cpuInfoFile: procCPUInfo, diff --git a/src/runtime/cli/kata-env_ppc64le_test.go b/src/runtime/cli/kata-env_ppc64le_test.go index 81666f7163..a794ba338c 100644 --- a/src/runtime/cli/kata-env_ppc64le_test.go +++ b/src/runtime/cli/kata-env_ppc64le_test.go @@ -10,7 +10,7 @@ import "testing" func getExpectedHostDetails(tmpdir string) (HostInfo, error) { expectedVendor := "" expectedModel := "POWER8" - expectedVMContainerCapable := false + expectedVMContainerCapable := true return genericGetExpectedHostDetails(tmpdir, expectedVendor, expectedModel, expectedVMContainerCapable) }