Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

47 lines (26 loc) · 1.07 KB

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