diff options
author | Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> | 2021-09-03 15:49:31 -0700 |
---|---|---|
committer | Scott Schreckengaust <scottschreckengaust@users.noreply.github.com> | 2021-09-06 09:55:24 -0700 |
commit | 57133bb3341ffa37c68945669b746f593f6be01e (patch) | |
tree | 7d0c1589eb71dc68cb7f47ad9097bcf3902ef9d3 /pkg | |
parent | af58cb15d2aa46609fc7231647af09f808ba6c1c (diff) | |
download | podman-57133bb3341ffa37c68945669b746f593f6be01e.tar.gz podman-57133bb3341ffa37c68945669b746f593f6be01e.tar.bz2 podman-57133bb3341ffa37c68945669b746f593f6be01e.zip |
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>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/machine/qemu/options_darwin_amd64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/machine/qemu/options_darwin_amd64.go b/pkg/machine/qemu/options_darwin_amd64.go index ee1036291..ff8d10db1 100644 --- a/pkg/machine/qemu/options_darwin_amd64.go +++ b/pkg/machine/qemu/options_darwin_amd64.go @@ -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 } |