Skip to content

keiichiw/kvm-sample-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Minimal KVM API example in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published