Expand description
ArceOS-Hypervisor
VM config module.
AxVMCrateConfig
: the configuration structure for the VM.
It is generated from toml file, and then converted to AxVMConfig
for the VM creation.
Structs§
- AxVM
Crate Config - The configuration structure for the guest VM serialized from a toml file provided by user,
and then converted to
AxVMConfig
for the VM creation. - Emulated
Device Config - A part of
AxVMConfig
, which represents the configuration of an emulated device for a virtual machine. - Pass
Through Device Config - A part of
AxVMConfig
, which represents the configuration of a pass-through device for a virtual machine. - VMBase
Config - The configuration structure for the guest VM base info.
- VMDevices
Config - The configuration structure for the guest VM devices.
- VMKernel
Config - The configuration structure for the guest VM kernel.
- VmMem
Config - A part of
AxVMConfig
, which represents a memory region.
Enums§
- Emulated
Device Type - The type of Emulated Device.
- VMInterrupt
Mode - Specifies how the VM should handle interrupts and interrupt controllers.
- VMType
- A part of
AxVMConfig
, which represents guest VM type. - VmMem
Mapping Type - The type of memory mapping.