Skip to main content

Crate axvmconfig

Crate axvmconfig 

Source
Expand description

ArceOS-Hypervisor VM config module. GuestConfig: the user-facing guest configuration structure. It is generated from a TOML file and converted to AxVM’s internal runtime configuration before VM creation.

Structs§

GuestConfig
The configuration structure for the guest VM serialized from a toml file provided by user, and then converted to AxVMConfig for the VM creation.
GuestDevices
User-selectable physical-device configuration.
HostAddressAssignment
One architecture-owned host address assignment without a firmware node.
HostDeviceAssignment
One host-firmware device assignment normalized before VM planning.
HostPortAssignment
One architecture-owned host I/O port assignment.
PhysicalDeviceRef
A structured reference to a host physical device.
ReservedAddressConfig
A guest physical address range reserved from default passthrough mapping.
VMBaseConfig
The configuration structure for the guest VM base info.
VMKernelConfig
The configuration structure for the guest VM kernel.
VirtualDeviceRequest
Open configuration boundary for one code-registered virtual-device model.
VmMemConfig
Configuration for a virtual machine memory region.

Enums§

AddressSpacePolicy
Guest physical address space population policy.
AxVmConfigError
Errors reported while parsing or validating an AxVM configuration.
GuestType
Determines how the guest receives physical devices.
VMBootProtocol
Describes how a guest VM should enter its boot image.
VmMemMappingType
The type of memory mapping used for VM memory regions.

Type Aliases§

AxVmConfigResult
Result type returned by AxVM configuration operations.