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>
This commit is contained in:
Brent Baude 2021-06-08 13:43:33 -05:00
parent c7e96edfb2
commit b6ef7cf21d

View file

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