浏览文件
qemu_others.go
18 行 · 562 B历史下载| 1 | //go:build !(linux || darwin) || !(amd64 || arm64) |
| 2 | |
| 3 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | package qemu |
| 7 | |
| 8 | import ( |
| 9 | "github.com/coreos/go-semver/semver" |
| 10 | "github.com/sirupsen/logrus" |
| 11 | ) |
| 12 | |
| 13 | // nestedVirtualizationEnabled reports whether the host can provide nested virtualization |
| 14 | // for the given guest configuration. |
| 15 | func nestedVirtualizationEnabled(_, _, _ string, _ *semver.Version) (bool, error) { |
| 16 | logrus.Warn("field `nestedVirtualization` is not supported on this platform, ignoring") |
| 17 | return false, nil |
| 18 | } |

