Docs.rs
  • linux-kvm-0.5.0
    • linux-kvm 0.5.0
    • Permalink
    • Docs.rs crate page
    • MIT
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • apparentlymart
    • Dependencies
      • linux-io ^0.11.0 normal
      • linux-unsafe ^0.12.0 normal
    • Versions
    • 40.91% of the crate is documented
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

Crate linux_kvm

linux_kvm0.5.0

  • All Items

Crate Items

  • Modules
  • Structs
  • Type Aliases

Crates

  • linux_kvm

Crate linux_kvm

Source
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
ioctl constants for use with linux_io::File::ioctl.
raw
Raw data types for use with various KVM ioctl requests.

Structs§

Kvm
Represents the kernel’s whole KVM subsystem.
MemoryRegion
A page-aligned host memory region that can be mapped into the guest memory space of a VirtualMachine.
VirtualCpu
A virtual CPU belonging to a VirtualMachine.
VirtualCpuRunner
Wraps a VirtualCpu with some extra state required to run it.
VirtualMachine
An individual virtual machine created through a Kvm object.

Type Aliases§

Result
Represents a result from a kernel call that might fail.

Results

Settings
Help
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.
No results :(
Try on DuckDuckGo?

Or try looking in one of these:
  • The Rust Reference for technical details about the language.
  • Rust By Example for expository code examples.
  • The Rust Book for introductions to language features and the language itself.
  • Docs.rs for documentation of crates released on crates.io.