Crate vmotherboard

Source
Expand description

A declarative builder API to init and wire-up virtual devices onto a “virtual motherboard”.

At a high level: Given a BaseChipsetBuilder + a list of BaseChipsetDevices, return Chipset.

Modules§

options
BaseChipsetBuilder options and configuration

Structs§

ArcMutexChipsetDeviceBuilder
A builder to streamline the construction of Arc + CloseableMutex wrapped ChipsetDevice instances.
BaseChipsetBuilder
A builder that kick-starts Chipset construction by instantiating a bunch of semi-standardized devices.
BaseChipsetBuilderOutput
A bundle of goodies the base chipset builder returns.
BaseChipsetDeviceInterfaces
A grab-bag of device-specific interfaces that may need to be wired up into upper-layer VMM specific code.
BusId
Generic Bus Identifier. Used to describe VM bus topologies.
Chipset
The “glue” that interconnects virtual devices, and exposes an API for external entities (such as VCPUs) to access devices.
ChipsetBuilder
A builder for Chipset
ChipsetDeviceHandle
A handle to instantiate a chipset device.
ChipsetDevices
A (type erased) bundle of state unit handles for added devices.

Enums§

BaseChipsetBuilderError
Errors which may occur during base chipset construction
PowerEvent
A device-triggered power event.

Traits§

DebugEventHandler
Handler for device-triggered debug events.
PowerEventHandler
Handler for device-triggered power events.
VmmChipsetDevice
A supertrait of ChipsetDevice that requires devices to also support InspectMut and SaveRestore.

Type Aliases§

BusIdPci
Type-safe PCI bus ID.