Small KVM-based hypervisor, boots Linux (WIP)
- Roff 55.5%
- Rust 43%
- C 1.5%
| contrib | contrib: add init and kernel config | |
| src | main: comments | |
| .gitignore | *: RIIR | |
| build.rs | build.rs: use header_contents instead of header | |
| Cargo.lock | src: generate bootparam using bindgen ( #1 ) | |
| Cargo.toml | src: generate bootparam using bindgen ( #1 ) | |
| LICENSE | *: initial commit | |
| README.md | README | |
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>