Skip to main content

Module capability

Module capability 

Source
Expand description

Host capability probes that answer without constructing a hypervisor.

Hypervisor::capabilities is the richer surface, but reaching it means opening /dev/kvm (or a VZ configuration) first. Callers that must answer before any VM exists — the sandbox capability gate, which GetCapabilities and the Create fail-fast path both consult — use these instead. The concrete backends read the same probes when they fill in PlatformCapabilities, so the two never drift.

Structs§

NestedVirtSupport
Whether this host can nest a VM, and the platform’s own reason when it cannot.

Functions§

host_nested_virt
Probes nested-virtualization support on this host.