Skip to content

fixed bug with highmem set for qemu vm on Apple silicon#40

Open
csandrew-dev wants to merge 1 commit intobradleyd:mainfrom
csandrew-dev:Apple_silicon_qemu_bug
Open

fixed bug with highmem set for qemu vm on Apple silicon#40
csandrew-dev wants to merge 1 commit intobradleyd:mainfrom
csandrew-dev:Apple_silicon_qemu_bug

Conversation

@csandrew-dev
Copy link
Copy Markdown

Bug with running the qemu vm on apple silicon:

$ qemu-system-aarch64 -cpu cortex-a72 -smp cpus=4,sockets=1,cores=4,threads=1 -machine virt,highmem=off -accel hvf -accel tcg,tb-size=2048 -m 4G -initrd initrd.img-5.10.0-11-arm64 -kernel vmlinuz-5.10.0-11-arm64 -append "root=/dev/vda2 console=ttyAMA0" -drive if=virtio,file=debian-dftd-aarch64.qcow2,format=qcow2,id=hd -net user,hostfwd=tcp::10022-:22,hostfwd=tcp::20375-:2375,hostfwd=tcp::5001-:5000 -net nic -device intel-hda -device hda-duplex -nographic
qemu-system-aarch64: -accel hvf: Addressing limited to 32 bits, but memory exceeds it by 1073741824 bytes

Qemu used to have a bug that forced you to use the highmem=off, I believe. This is just from a quick search online. It has since been fixed so you can use highmem=on and the qemu vm works.

@bradleyd
Copy link
Copy Markdown
Owner

bradleyd commented Nov 5, 2025

That is good to know. Thanks for adding this! I will run this locally and check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants