From b6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 8 Jun 2021 13:43:33 -0500 Subject: [PATCH] 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 --- pkg/machine/qemu/options_darwin_amd64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/machine/qemu/options_darwin_amd64.go b/pkg/machine/qemu/options_darwin_amd64.go index 69f7982b25..ef9ad146be 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 }