Get the latest tech news
Hypervisor as a Library
2025-05-20 Before we dive into the topic, let me introduce you my new friend catsay, a simple Go program which eats stdin and speaks like a cat: Cute! ... but it's not what I want to talk about.
It has a huge drawback in the cloud computing environment where hardware-assisted virtualization is not available (or is slow) in cheap VM-based instances, but it's still attractive for Starina: In a nutshell, create a guest-physical address space, install Linux kernel into it, enter the VM world, and handle MMIO accesses. Thanks to the hypervisor-as-a-library design, you can pass a Rust object ( YourVirtualFile) to catsay transparently, and what's more you can write into the guest memory directly, in a safe way!
Or read this on Hacker News