Get the latest tech news
Implementing a RISC-V Hypervisor
2025-05-17 To implement a seamless Linux integration into Starina, I decided to go with a Linux lightweight VM approach similar to WSL2. This means I need to implement a hypervisor that can run Linux.
RISC-V H-extension introduces new CPU modes and some more CSRs (so-called control registers) to implement hardware-assisted virtualization. Unlike Linux KVM-based hypervisors (more specifically, virtual machine monitors), Starina is a new operating system and has been tested on QEMU. vm-fdt, a device tree builder from RustVMM project (famous for Firecracker), supports no_std, so it was easy to use it in Starina.
Or read this on Hacker News