Merge pull request #14563 from ashley-cui/qemu

Fix M1 QEMU flags
This commit is contained in:
openshift-ci[bot] 2022-06-13 19:11:34 +00:00 committed by GitHub
commit 9fac1b335f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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