aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-08-23 21:57:35 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-08-23 21:57:35 +0200
commitc94950f9dca80387aab264c7aa4044feff76625c (patch)
treebf46ac0e969487b5ccdb1fc6899e9098349c17f4 /README.md
parent3b9f34189259c94a8fbd26bc16cd28d167282e35 (diff)
parent38cd31ed203999122c500d389de38bb051ce979e (diff)
downloadmini-kvm-rs-c94950f9dca80387aab264c7aa4044feff76625c.tar.gz
mini-kvm-rs-c94950f9dca80387aab264c7aa4044feff76625c.zip
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'README.md')
-rw-r--r--README.md20
1 files changed, 15 insertions, 5 deletions
diff --git a/README.md b/README.md
index 498adec..1b66b76 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,11 @@
# kvm-rs
-[![Rust](https://github.com/johannst/mini-kvm-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/johannst/mini-kvm-rs/actions/workflows/rust.yml)
+[![Rust][wf-badge]][wf-output] [![Rustdoc][doc-badge]][doc-html]
+
+[wf-output]: https://github.com/johannst/mini-kvm-rs/actions/workflows/rust.yml
+[wf-badge]: https://github.com/johannst/mini-kvm-rs/actions/workflows/rust.yml/badge.svg
+[doc-html]: https://johannst.github.io/mini-kvm-rs/kvm_rs/index.html
+[doc-badge]: https://img.shields.io/badge/kvm__rs-rustdoc-blue.svg?style=flat&logo=rust
A playground for the [`Kernel Virtual Machine
(KVM)`](https://www.kernel.org/doc/html/latest/virt/kvm/index.html) in rust to
@@ -11,14 +16,19 @@ The sources are structured as follows:
- [`src/`](./src) provides a small library as abstraction over the raw [KVM
API](https://www.kernel.org/doc/html/latest/virt/kvm/api.html#api-description).
- [`examples/`](./examples) contains example VMs using the library above.
-- [`guest/`](./guest) contains the guest source code.
-- [`sysdeps/`](./sysdeps) helper to generate some KVM constants from the system
- header (executed by [build.rs](./build.rs)).
+- [`guest/`](./guest) contains the guest source code which is run inside the VMs.
+- [`sysdeps/`](./sysdeps) contains helper to generate some KVM constants from
+ the system header (executed by [build.rs](./build.rs)).
## Documentation
Rustdoc for this crate is avalable at
-[johannst.github.io/mini-kvm-rs](https://johannst.github.io/mini-kvm-rs/kvm_rs/index.html).
+[johannst.github.io/mini-kvm-rs][doc-html].
+
+## Requirements
+
+- Kernel with `kvm` support and permissions to open `/dev/kvm`.
+- Compiler & binuitls for generating the guest images.
## Real Mode (16bit) example