From b6ef7cf21dfebdff9064eaa7d8658c2fd4e713e0 Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 8 Jun 2021 13:43:33 -0500 Subject: 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(-) (limited to 'pkg/machine/qemu/options_darwin_amd64.go') 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 } -- cgit v1.2.3-54-g00ecf