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§
- Guest
Config - The configuration structure for the guest VM serialized from a toml file provided by user,
and then converted to
AxVMConfigfor the VM creation. - Guest
Devices - User-selectable physical-device configuration.
- Host
Address Assignment - One architecture-owned host address assignment without a firmware node.
- Host
Device Assignment - One host-firmware device assignment normalized before VM planning.
- Host
Port Assignment - One architecture-owned host I/O port assignment.
- Physical
Device Ref - A structured reference to a host physical device.
- Reserved
Address Config - A guest physical address range reserved from default passthrough mapping.
- VMBase
Config - The configuration structure for the guest VM base info.
- VMKernel
Config - The configuration structure for the guest VM kernel.
- Virtual
Device Request - Open configuration boundary for one code-registered virtual-device model.
- VmMem
Config - Configuration for a virtual machine memory region.
Enums§
- Address
Space Policy - Guest physical address space population policy.
- AxVm
Config Error - Errors reported while parsing or validating an AxVM configuration.
- Guest
Type - Determines how the guest receives physical devices.
- VMBoot
Protocol - Describes how a guest VM should enter its boot image.
- VmMem
Mapping Type - The type of memory mapping used for VM memory regions.
Type Aliases§
- AxVm
Config Result - Result type returned by AxVM configuration operations.