1
0
Fork
You've already forked vmm
0
Small KVM-based hypervisor, boots Linux (WIP)
  • Roff 55.5%
  • Rust 43%
  • C 1.5%
Find a file
2024年05月06日 00:37:04 +05:30
contrib contrib: add init and kernel config 2024年05月06日 00:32:01 +05:30
src main: comments 2024年05月05日 23:40:29 +05:30
.gitignore *: RIIR 2023年11月02日 23:22:13 +05:30
build.rs build.rs: use header_contents instead of header 2024年01月18日 16:53:04 +05:30
Cargo.lock src: generate bootparam using bindgen ( #1 ) 2024年01月17日 14:39:55 +00:00
Cargo.toml src: generate bootparam using bindgen ( #1 ) 2024年01月17日 14:39:55 +00:00
LICENSE *: initial commit 2023年11月01日 22:16:52 +05:30
README.md README 2024年05月06日 00:37:04 +05:30

vmm

Tiny VMM that boots Linux

Usage

A sample kernel config and init is present in the contrib directory. An initramfs can be created like so:

$ cc contrib/init.c -o init -static
# cpio takes the file list from stdin
$ echo init | cpio -o -H newc > initramfs

NOTE: By default, the code prints out every byte received on the serial ports, which can be suppressed by redirecting stderr to /dev/null

cargo run <KERNEL_IMAGE> <INITRAMFS>

Resources