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!

Get the Android app

Or read this on Hacker News

Read more on:

Photo of library

library

Photo of Hypervisor

Hypervisor

Related news:

News photo

A library of words: Discovering Roget's Thesaurus (2023)

News photo

White House fires head of Copyright Office amid Library of Congress shakeup

News photo

From Russia with doubt: Go library's Kremlin ties stoke fear