Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.05 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.05 KB

kvm-sample-rust

Minimal KVM API sample in Rust. This is inspired by kvmsample, which is written in C.

Abstraction layers such as safe structs are intentionally avoided in this project. Instead, it calls KVM API directly to make it easier to understand how each KVM ioctls should be called. If you want safe wrappers of KVM APIs, other projects in the section below would be helpful.

Usage

# Create countdown.bin to run as a guest program
$ make
# Run countdown.bin as a KVM guest
$ cargo run -- ./countdown.bin

Learning Resources