mirror of
https://github.com/containers/podman
synced 2024-10-21 17:53:44 +00:00
TCG Accel fallback for Apple Silicon. Iss #10577
Cause qemu to fall back to using TCG acceleration when HVP acceleration is not available on Darwin Aarch64. Qemu prints a warning which it is desirable to leave to embarrass the upstream Qemu into approving the HVF patches. [NO TESTS NEEDED] Signed-off-by: Jonathan Springer <jspringer@us.ibm.com> Signed-off-by: Jonathan Springer <jonpspri@gmail.com>
This commit is contained in:
parent
692e37f8f3
commit
c01f7725a5
|
@ -13,6 +13,7 @@ func (v *MachineVM) addArchOptions() []string {
|
|||
ovmfDir := getOvmfDir(v.ImagePath, v.Name)
|
||||
opts := []string{
|
||||
"-accel", "hvf",
|
||||
"-accel", "tcg",
|
||||
"-cpu", "cortex-a57",
|
||||
"-M", "virt,highmem=off",
|
||||
"-drive", "file=/usr/local/share/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on",
|
||||
|
|
Loading…
Reference in a new issue