Skip to main content

Module config

Module config 

Source
Expand description

Configuration for the VM worker.

Structs§

Aarch64TopologyConfig
Config
GicV2Config
GICv2-specific address configuration.
GicV3Config
GICv3-specific address configuration.
HypervisorConfig
KernelVmNicConfig
MemoryConfig
Per-node memory allocation configuration.
NumaDistance
An inter-node distance entry for the ACPI SLIT.
NumaNode
A single virtual NUMA node.
NumaTopology
Virtual NUMA topology for the VM.
PcieDeviceConfig
PcieGenericInitiatorConfig
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.
PciePortConfig
Configuration for a single PCIe port — either a root-complex root port or a switch downstream port.
PcieRootComplexConfig
PcieSwitchConfig
ProcessorTopologyConfig
RootComplexCxlConfig
SerialInformation
SwitchPortId
VmbusConfig
VpciDeviceConfig
Vtl2Config
Configuration for VTL2.
X86TopologyConfig

Enums§

ArchTopologyConfig
DeviceVtl
Which VTL to assign a particular device to.
EfiDiagnosticsLogLevelType
GicConfig
GIC configuration for the virtual machine.
GicMsiConfig
MSI controller selection for aarch64 PCIe interrupt delivery.
IsolationType
LateMapVtl0MemoryPolicy
Policy for the partition when mapping VTL0 memory late.
LinuxDirectBootMode
How firmware tables are presented to the guest in Linux direct boot.
LoadMode
PcatBootDevice
PcieIommuConfig
IOMMU configuration for a single PCIe root complex.
PcieMmioRangeConfig
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.
PmuGsivConfig
UefiConsoleMode
VirtioBus
VpAssignment
How VPs are assigned to a NUMA node.
Vtl2BaseAddressType
Different types to specify the base address for the VTL2 region of the IGVM file.
X2ApicConfig

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).