fixed bug with highmem set for qemu vm on Apple silicon#40
Open
csandrew-dev wants to merge 1 commit intobradleyd:mainfrom
Open
fixed bug with highmem set for qemu vm on Apple silicon#40csandrew-dev wants to merge 1 commit intobradleyd:mainfrom
csandrew-dev wants to merge 1 commit intobradleyd:mainfrom
Conversation
Owner
|
That is good to know. Thanks for adding this! I will run this locally and check. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 bytesQemu 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 usehighmem=onand the qemu vm works.