Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages