summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-09-06 18:32:32 +0200
committerGitHub <noreply@github.com>2021-09-06 18:32:32 +0200
commit68481539a4f019229707dcee9e4f4f8465392f06 (patch)
treec49ce41392eb896992a8015b1c7b99ea95191f36
parent32a493df0c488b793c307a060016dd7ea050dbff (diff)
parentc01f7725a50e3d699abee717276ed17c42b0ef93 (diff)
downloadpodman-68481539a4f019229707dcee9e4f4f8465392f06.tar.gz
podman-68481539a4f019229707dcee9e4f4f8465392f06.tar.bz2
podman-68481539a4f019229707dcee9e4f4f8465392f06.zip
Merge pull request #11451 from jonpspri/qemu-apple-silicon-hvf-tcg
Qemu TCG Accel fallback for Apple Silicon. Iss #10577
-rw-r--r--pkg/machine/qemu/options_darwin_arm64.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/machine/qemu/options_darwin_arm64.go b/pkg/machine/qemu/options_darwin_arm64.go
index 7513b3048..8c651584e 100644
--- a/pkg/machine/qemu/options_darwin_arm64.go
+++ b/pkg/machine/qemu/options_darwin_arm64.go
@@ -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",