News for hackers. Stuff that matters.
Re:A path out of bloat: A Linux built for VMs by 01HNNWZ0MV43FF on Monday April 01, 2024 @11:16PM (#39902039)
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.

Re:A path out of bloat: A Linux built for VMs by fl7305 on Tuesday April 02, 2024 @06:20AM (#39904091)
It'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.