5 ms·
Not an expert on QEMU, but apart from being a very useful tool, it also seems very complex. Perhaps not Linux-complex, but certainly close. So it's somewhat im
by sharken 6y ago
Not an expert on QEMU, but apart from being a very useful tool, it also seems very complex.
Perhaps not Linux-complex, but certainly close. So it's somewhat impressive that it has come so far when the Developer docs states:
QEMU does not have a high level design description document - only the source code tells the full story.
But it can run Windows 10 on Mac :)
https://forums.macrumors.com/threads/success-virtualize-windows-10-for-arm-on-m1-with-alexander-grafs-qemu-hypervisor-patch.2272354/ https://forums.macrumors.com/threads/success-virtualize-wind...
- saagarjha 6y agoIt might be useful to note that this is running through virtualization, not TCG :)
- jart 6y agoIf you want to try the "new kid in town" x86_64 emulator that's ~200kb in size and has a simple readable easily hackable codebase, although it isn't as fast as qemu, then please give Blinkenlights a try! https://justine.lol/blinkenlights/index.html https://justine.lol/blinkenlights/index.html It was built for the purpose of testing Cosmopolitan Libc https://justine.lol/cosmopolitan/index.html https://justine.lol/cosmopolitan/index.html How readable is the source code to Blinkenlights? See for yourself. Here's the ALU code: https://github.com/jart/cosmopolitan/blob/master/tool/build/lib/alu.c https://github.com/jart/cosmopolitan/blob/master/tool/build/...
- pm215 6y agoAs with Linux, a lot of the lines-of-code turns out to be device-related: for the kernel it's device drivers, and for QEMU it's models of devices. Also, just because we don't have a high level design document doesn't mean we don't have a high level design -- it's just that it's inside the heads of the developers rather than on paper :-)