Crate vm_manifest_builder

Source
Expand description

Crate to help build a VM manifest.

The VM’s manifest is a list of device handles (and, for now, legacy device configuration for [vmotherboard]) for devices that are present in a VM.

This crate helps build the manifest via the VmManifestBuilder type. This can be used to construct common manifests for different VM types, such as Hyper-V generation 1 and 2 VMs, unenlightened Linux VMs, and Underhill VMs.

For now, this crate only builds handles and configuration for “chipset” devices. In the future, it will also build handles for PCI and VMBus devices.

Structs§

Error
Error type for building a VM manifest.
VmChipsetResult
The result of building a VM manifest.
VmManifestBuilder
Builder for a VM manifest.

Enums§

BaseChipsetType
The VM’s base chipset type, which determines the set of core devices (such as timers, interrupt controllers, and buses) that are present in the VM.
MachineArch
The machine architecture of the VM.