feat: emulate a cpu on macOS with all features supported by KVM
This commit is contained in:
parent
b8817a4930
commit
b88ab7cca3
@ -255,7 +255,7 @@ func (q *System) Args() (qemuArgs []string) {
|
||||
}
|
||||
|
||||
if q.arch == X86x64 && runtime.GOOS == "darwin" {
|
||||
qemuArgs = append(qemuArgs, "-accel", "hvf", "-cpu", "host")
|
||||
qemuArgs = append(qemuArgs, "-accel", "hvf", "-cpu", "max")
|
||||
}
|
||||
|
||||
qemuArgs = append(qemuArgs, "-append", q.cmdline())
|
||||
|
Loading…
Reference in New Issue
Block a user