Hypersieve Description
What Is Hypersieve?
Hypersieve is a fault-tolerant type 1 microhypervisor for safety-critical and secure systems with WebAssembly-based modules.
Info:
A microhypervisor is a type of hypervisor in which architecture-independent components are separated into modules. This ensures safety and fault tolerance; if one module fails, the host remains alive.
It is designed for safety-critical systems and built to ensure security.
Core Ideas and How They Are Achieved
Its core idea is to provide secure, fault-tolerant, and fast execution.
Security is ensured by the guarantees provided by the Rust Programming Language (in which Hypersieve is written) and the guarantees provided by WebAssembly, on which the modules are built. Additionally, the hypervisor has a small Trusted Computing Base.
Speed is achieved through a minimal core size, the use of Rust, and moving a large amount of code out at compile time.
Fault tolerance is achieved through the microhypervisor architecture and a module recovery system.
Configuration
Hypersieve uses several configuration files (click a file name to view its configuration documentation):
- config.dts — Contains a description of the guests and the system.
- hardware.dts — Describes the memory-mapped I/O (MMIO) devices.
- modules.toml — Binds module names to their paths.
- drivers.toml — Binds drivers to those MMIO devices, if required.
Test Files
In addition, the hypervisor includes the following test files:
src/arch/riscv64/guests/guest-1.S&src/arch/riscv64/guests/guest-2.S— Contain guest system code written in assembly language.modules/claim_guest&modules/claim_assigned_guest— Modules that find the next guest ID during guest switches.src/arch/riscv64/mmio/print_letter_m.rs— Contains a function for emulating an MMIO pseudo-device.
All of these test scenarios are pre-configured in the aforementioned configuration files. Detailed instructions and rules for making custom modifications are specified directly within the configuration files themselves.