#kvm #virtualization

sys kvm-sys

Bindings for KVM interface

1 unstable release

Uses old Rust 2015

0.3.0 Aug 24, 2019

#18 in #virtualization

40 downloads per month
Used in x86test

Apache-2.0

52KB
1.5K SLoC

KVM

Rust interface to the KVM Hypervisor

Build Status Downloads Version License

Documentation

Check out the examples

General documentation for KVM can be found in the Kernel Documentation Tree and through this LWN article by Josh Triplett

What is KVM?

Kernel-based Virtual Machine (KVM) is a Linux hypervisor which provides an interface the hardware virtualization extensions of a machine. In particular, using KVM, a userspace process can set up a guest VM's address space, provide/receive I/O, and run a Virtual CPU.

How is it different from QEMU?

QEMU is a userspace process which can use KVM to construct virtual machines. QEMU is responsible for emulating a full suite of hardware devices in order to execute a complete operating system. KVM only provides the means to execute in a hardware enforced "sandbox." User processes are responsible for the booting and device emulation.

Requirements

Rust >= 1.2.0

License

Apache 2.0

Dependencies

~280KB