3 ms·
I wonder how much emulator it takes to run a Linux that's made to run in a VM. I might be more enticed to build a hobby OS if I knew I could do a port of qemu'
by 01HNNWZ0MV43FF 3y ago
I wonder how much emulator it takes to run a Linux that's made to run in a VM.
I might be more enticed to build a hobby OS if I knew I could do a port of qemu's core (It's gotta be just SDL, file I/O, and keyboard/mouse plus the other 90% of the owl, right) to host Linux apps somehow.
- fl7305 3y agoIt's not that hard to emulate the basic Linux system calls. If you have the user mode compiler and libc running, then you can get simple console applications up and running in a day or two. Having looked at qemu a bit, it feels like a bigger undertaking to understand the qemu internals enough to start modifying it. But if you can run qemu as-is, the core kernel is not that big if you have a very limited set of HW support and don't implement the more complicated system calls.