Skip to content

Commit

Permalink
Correct qemu options for Intel macs
Browse files Browse the repository at this point in the history
On intel macs, we need to accel=hvf to work correctly.

Fixes: containers#10555

[NO TESTS NEEDED]

Signed-off-by: Brent Baude <[email protected]>
  • Loading branch information
baude committed Jun 8, 2021
1 parent c7e96ed commit b6ef7cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/machine/qemu/options_darwin_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var (
)

func (v *MachineVM) addArchOptions() []string {
opts := []string{"-cpu", "host"}
opts := []string{"-cpu", "host", "-accel", "hvf"}
return opts
}

Expand Down

0 comments on commit b6ef7cf

Please sign in to comment.