LfD Logo

Looking for C and Linux Nerds - Test Framework for the RISC-V Hypervisor

Info about Jailhouse:

Jailhouse is a partitioning Hypervisor based on Linux. It is able to run bare-metal applications or (adapted) operating systems besides Linux. For this purpose, it configures CPU and device virtualization features of the hardware platform in a way that none of these domains, called "cells" here, can interfere with each other in an unacceptable way.

Jailhouse is optimized for simplicity rather than feature richness. Unlike full-featured Linux-based hypervisors like KVM or Xen, Jailhouse does not support overcommitment of resources like CPUs, RAM or devices. It performs no scheduling and only virtualizes those resources in software, that are essential for a platform and cannot be partitioned in hardware.

Once Jailhouse is activated, it runs bare-metal, i.e. it takes full control over the hardware and needs no external support. However, in contrast to other bare-metal hypervisors, it is loaded and configured by a normal Linux system. Its management interface is based on Linux infrastructure. So you boot Linux first, then you enable Jailhouse and finally you split off parts of the system's resources and assign them to additional cells.

Github: Jailhouse
Youtube: Zero-Overhead Virtualisation: It's a Trap! - Ralf Ramsauer & Stefan Huber, OTH Regensburg
Paper: Look Mum, no VM Exits! (Almost)
Paper: Static Hardware Partitioning on RISC-V -- Shortcomings, Limitations, and Prospects