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§
BaseChipsetBuilder
options and configuration
Structs§
- A builder to streamline the construction of
Arc + CloseableMutex
wrappedChipsetDevice
instances. - A builder that kick-starts Chipset construction by instantiating a bunch of semi-standardized devices.
- A bundle of goodies the base chipset builder returns.
- A grab-bag of device-specific interfaces that may need to be wired up into upper-layer VMM specific code.
- Generic Bus Identifier. Used to describe VM bus topologies.
- The “glue” that interconnects virtual devices, and exposes an API for external entities (such as VCPUs) to access devices.
- A builder for
Chipset
- A handle to instantiate a chipset device.
- A (type erased) bundle of state unit handles for added devices.
Enums§
- Errors which may occur during base chipset construction
- A device-triggered power event.
Traits§
- Handler for device-triggered debug events.
- Handler for device-triggered power events.
- A supertrait of
ChipsetDevice
that requires devices to also support InspectMut and SaveRestore.
Type Aliases§
- Type-safe PCI bus ID.