aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-13 19:11:34 +0000
committerGitHub <noreply@github.com>2022-06-13 19:11:34 +0000
commit9fac1b335f681400a029e9d8014f45fa5634ec40 (patch)
treedfdd1adba2032da4ad855d1cfd9190641e40bcb5
parentb34cba6cd53cfd4df58f2b26d3e5a6be86dfb132 (diff)
parent8d3e6577ae4b5c6a6ed25ff5c332df042094e415 (diff)
downloadpodman-9fac1b335f681400a029e9d8014f45fa5634ec40.tar.gz
podman-9fac1b335f681400a029e9d8014f45fa5634ec40.tar.bz2
podman-9fac1b335f681400a029e9d8014f45fa5634ec40.zip
Merge pull request #14563 from ashley-cui/qemu
Fix M1 QEMU flags
-rw-r--r--pkg/machine/qemu/options_darwin_arm64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/machine/qemu/options_darwin_arm64.go b/pkg/machine/qemu/options_darwin_arm64.go
index 4c954af00..8930041b7 100644
--- a/pkg/machine/qemu/options_darwin_arm64.go
+++ b/pkg/machine/qemu/options_darwin_arm64.go
@@ -15,8 +15,8 @@ func (v *MachineVM) addArchOptions() []string {
opts := []string{
"-accel", "hvf",
"-accel", "tcg",
- "-cpu", "cortex-a57",
- "-M", "virt,highmem=off",
+ "-cpu", "host",
+ "-M", "virt,highmem=on",
"-drive", "file=" + getEdk2CodeFd("edk2-aarch64-code.fd") + ",if=pflash,format=raw,readonly=on",
"-drive", "file=" + ovmfDir + ",if=pflash,format=raw"}
return opts