Skip to main content

Module backend

Module backend 

Source
Expand description

The hypervisor backend trait surface.

Per 99-key-decisions.md § D1 squib ships exactly one production backend: HVF on Apple Silicon. The trait stays generic so the in-process BackendKind::Mock can stand in for unit tests without a live hypervisor.

Structs§

BackendCapabilities
What a backend can and cannot do, surfaced to the VMM at construction time.

Enums§

BackendKind
Identifies the concrete backend implementation reporting BackendCapabilities.

Constants§

MAX_SUPPORTED_VCPUS
Hard upper bound on vcpu_count, matching upstream Firecracker’s MAX_SUPPORTED_VCPUS.

Traits§

HypervisorBackend
The top-level entry point: a backend that can create VMs.
Vm
A live virtual machine handle owned by a HypervisorBackend.