Skip to content

ShadowCurse/radiance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Radiance

Experimental KVM based VMM for aarch64 platform.

Defining characteristics:

  • no external dependencies
  • statically compiled (no libc or musl)
  • no memory allocations after the VM start
  • minimal memory overhead over requested VM memory size

Build:

    $ zig build -Doptimize=ReleaseFast -j4

Usage:

Usage:
        --config_path: type []const u8

Example:

radiance --config_path config.toml

Example config file:

[machine]
vcpus = 2
memory_mb = 128

[kernel]
path = "vmlinux-5.10"

[[drives]]
read_only = true
path = "ubuntu-22.04.ext4"

Linux kernel: To compile kernel use:

make -Image -j

The resulting kernel image will be at arch/arm64/boot/Image.

Kcov:

zig test src/main.zig -lc --test-cmd kcov --test-cmd "--exclude-pattern=/nix" --test-cmd kcov-output --test-cmd-bin

About

Experimental KVM based VMM for aarch64

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published