summaryrefslogtreecommitdiff
path: root/pkg/machine
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2021-06-08 13:43:33 -0500
committerBrent Baude <bbaude@redhat.com>2021-06-08 13:45:07 -0500
commitb6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0 (patch)
tree97ffe0df82b8da74ecfc2d620e7a869ad684c4d1 /pkg/machine
parentc7e96edfb2a5a6187fbbf066d9fe9ae02686be9c (diff)
downloadpodman-b6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0.tar.gz
podman-b6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0.tar.bz2
podman-b6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0.zip
Correct qemu options for Intel macs
On intel macs, we need to accel=hvf to work correctly. Fixes: #10555 [NO TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/machine')
-rw-r--r--pkg/machine/qemu/options_darwin_amd64.go2
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 69f7982b2..ef9ad146b 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{"-cpu", "host"}
+ opts := []string{"-cpu", "host", "-accel", "hvf"}
return opts
}