Expand description
Configuration for the VM worker.
Structs§
- Aarch64
Topology Config - Config
- GicV2
Config - GICv2-specific address configuration.
- GicV3
Config - GICv3-specific address configuration.
- Hypervisor
Config - Kernel
VmNic Config - Memory
Config - Per-node memory allocation configuration.
- Numa
Distance - An inter-node distance entry for the ACPI SLIT.
- Numa
Node - A single virtual NUMA node.
- Numa
Topology - Virtual NUMA topology for the VM.
- Pcie
Device Config - Pcie
Generic Initiator Config - Declares that the device directly behind a named PCIe port (a root port or a switch downstream port) is a generic initiator (GI) for the given NUMA node. Used to generate an SRAT Generic Initiator Affinity structure so the guest attaches the device’s memory to that (typically CPU-less) proximity domain.
- Pcie
Port Config - Configuration for a single PCIe port — either a root-complex root port or a switch downstream port.
- Pcie
Root Complex Config - Pcie
Switch Config - Processor
Topology Config - Root
Complex CxlConfig - Serial
Information - Switch
Port Id - Vmbus
Config - Vpci
Device Config - Vtl2
Config - Configuration for VTL2.
- X86Topology
Config
Enums§
- Arch
Topology Config - Device
Vtl - Which VTL to assign a particular device to.
- EfiDiagnostics
LogLevel Type - GicConfig
- GIC configuration for the virtual machine.
- GicMsi
Config - MSI controller selection for aarch64 PCIe interrupt delivery.
- Isolation
Type - Late
MapVtl0 Memory Policy - Policy for the partition when mapping VTL0 memory late.
- Linux
Direct Boot Mode - How firmware tables are presented to the guest in Linux direct boot.
- Load
Mode - Pcat
Boot Device - Pcie
Iommu Config - IOMMU configuration for a single PCIe root complex.
- Pcie
Mmio Range Config - Specifies a PCIe MMIO BAR window, either by size (the resolver allocates) or by a fixed location. Fixed locations exist for assigned-device, IOMMU, and physical-topology compatibility.
- PmuGsiv
Config - Uefi
Console Mode - Virtio
Bus - VpAssignment
- How VPs are assigned to a NUMA node.
- Vtl2
Base Address Type - Different types to specify the base address for the VTL2 region of the IGVM file.
- X2Apic
Config
Constants§
- DEFAULT_
GIC_ DISTRIBUTOR_ BASE - DEFAULT_
GIC_ ITS_ BASE - Base address of the GICv3 ITS MMIO region. Must be 64 KiB aligned, below the v2m frame address, and not overlap other devices. The region extends from this base to base + GIC_ITS_SIZE (128 KiB).
- DEFAULT_
GIC_ NR_ IRQS - Default total number of GIC interrupts (SGIs + PPIs + SPIs). Must satisfy KVM constraints: 64 <= n <= 1023, multiple of 32. 992 = 31 × 32 is the largest valid value.
- DEFAULT_
GIC_ REDISTRIBUTORS_ BASE - DEFAULT_
GIC_ V2M_ MSI_ FRAME_ BASE - Base address of the GIC v2m MSI frame. Must not overlap GIC dist/redist, serial UARTs, or VMBus MMIO. Matches the Hyper-V convention.
- DEFAULT_
PCAT_ BOOT_ ORDER - DEFAULT_
VIRT_ TIMER_ PPI - Default virtual timer PPI (GIC INTID). PPI 4 = INTID 16 + 4 = 20. This is the EL1 virtual timer interrupt used across Hyper-V, KVM, and HVF.
- DEFAULT_
VMBUS_ PPI - Default VMBus PPI (GIC INTID). PPI 2 = INTID 16 + 2 = 18.
- GIC_
ITS_ SIZE - Size of the ITS MMIO region (control frame + translation frame, 2×64 KiB).
- GIC_
V2M_ MSI_ FRAME_ SIZE - Size of the v2m MSI frame (one 4KB page is the architectural minimum).