Expand description
This package wraps the lower-level crate linux_io
to provide more
convenient access to the linux KVM API, which allows you to create and
run kernel-managed virtual machines on architectures that support that.
For now this crate is largely just serving as a prototype case for building
low-cost safe abstractions on top of linux_io
, so it doesn’t support
the full KVM API. Hopefully over time it’ll gain enough to be useful.
Modules
ioctl constants for use with
linux_io::File::ioctl
.Raw data types for use with various KVM
ioctl
requests.Structs
Represents the kernel’s whole KVM subsystem.
A page-aligned host memory region that can be mapped into the guest memory
space of a
VirtualMachine
.A virtual CPU belonging to a
VirtualMachine
.Wraps a
VirtualCpu
with some extra state required to run it.An individual virtual machine created through a
Kvm
object.Type Definitions
Represents a result from a kernel call that might fail.