Starina: A Microkernel OS with a Hypervisor-as-a-Library Approach

2025-05-20
Starina: A Microkernel OS with a Hypervisor-as-a-Library Approach

This post introduces an innovative approach to Linux compatibility in the Starina operating system: integrating the virtual machine monitor (VMM) as a library within applications. Unlike traditional standalone VMMs, Starina's `starina_linux::Command` API lets developers run Linux programs similarly to `std::process::Command`, interacting with the VM via a virtual file system (virtio_fs). This design simplifies development and has the potential to achieve faster startup times than native Linux. Currently, basic file I/O is supported; future work includes adding networking, persistent storage, and enhanced containerization.

Development microkernel