3 ms·
Qemu is also several kinds of broken on M1. I was able to get qemu to boot an x86 Linux after applying a huge pile of patches I found on a forum. If you are e
by titzer 6y ago
Qemu is also several kinds of broken on M1.
I was able to get qemu to boot an x86 Linux after applying a huge pile of patches I found on a forum.
If you are expecting to get up and running instantly with a VM to put all of your comfy old software in, not so fast!
- saagarjha 6y agoHow so? I've been using QEMU to boot Intel guests without issue for almost six months…
- titzer 6y agoOn the M1? I could only get it to work with some patches I found on some forums from < 1 month ago. The issue seems to be hardware wx protection, among other things.
- saagarjha 6y agoOh, right, I just disabled that: https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ede54f5e https://gist.github.com/saagarjha/d1ddd98537150e4a09520ed3ed...
- titzer 6y agoInteresting. Do you work for Apple? The qemu patches that split up the RX/RW jit regions are maddeningly complicated. I'm curious if anyone has suggested this solution to them?
- saagarjha 6y agoI don't. To be clear, this isn't an actual fix, it just turns off W^X enforcement altogether. It's certainly not something that should be merged upstream–the real fix should be to adopt W^X in the JIT (which is more complicated, as you may have seen).