mirror of
https://github.com/containers/podman.git
synced 2025-06-19 00:06:43 +08: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:
@ -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",
|
||||
|
Reference in New Issue
Block a user