Crate hypervisor_resources

Crate hypervisor_resources 

Source
Expand description

Resource types and probe infrastructure for hypervisor backends.

This crate defines HypervisorKind (the resource kind for hypervisor backends), per-backend handle types, and the HypervisorProbe trait + distributed slice used for auto-detection.

Backends register probes via the register_hypervisor_probes! macro in openvmm_core. Callers use probes() to iterate registered backends and probe_by_name() to look up a specific one.

Structs§

HvfHandle
Handle for the HVF hypervisor backend.
KvmHandle
Handle for the KVM hypervisor backend.
MshvHandle
Handle for the MSHV hypervisor backend.
WhpHandle
Handle for the WHP hypervisor backend.

Enums§

HypervisorKind
Resource kind for hypervisor backends.

Traits§

HypervisorProbe
Trait for probing hypervisor backend availability.

Functions§

probe_by_name
Looks up a probe by backend name.
probes
Returns an iterator over all registered hypervisor probes.