mirror of
https://github.com/containers/podman.git
synced 2025-06-22 18:08:11 +08:00
Fix warning of unsupported feature on MacOS
Adding the `-cpu host` option to the `addArchOptions` function for darwin removes the warning message, "host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]" by qemu-system-x86_64 when using the `podman machine start` command on MacOS Closes #11421 [NO TESTS NEEDED] Signed-off-by: Scott Schreckengaust <scottschreckengaust@users.noreply.github.com>
This commit is contained in:
@ -5,7 +5,7 @@ var (
|
||||
)
|
||||
|
||||
func (v *MachineVM) addArchOptions() []string {
|
||||
opts := []string{"-machine", "q35,accel=hvf:tcg"}
|
||||
opts := []string{"-machine", "q35,accel=hvf:tcg", "-cpu", "host"}
|
||||
return opts
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user