mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
This reverts commit 24af7f8f9d
which leaves
MAX_MSIX_TABLE_NUM item as empty for most of platforms except ehl-crb-b and
expect config tool to calculate a correct MAX_MSIX_TABLE_NUM for hypervisor
use. Unfortunately current config tool just calculate maximum native MSIX
number without evaluating the maximum MSI vectors that ACRN needed for vMSIX
emulation, thus introduce big risk on the device vMSIX table initialization.
If customer has special device that need larger MAX_MSIX_TABLE_NUM to enable
ACRN, he can input the number in his own scenario file.
Tracked-On: #6186
Signed-off-by: Victor Sun <victor.sun@intel.com>
393 lines
12 KiB
XML
393 lines
12 KiB
XML
<?xml version="1.0"?>
|
|
<acrn-config board="generic_board" scenario="industry">
|
|
<hv>
|
|
<DEBUG_OPTIONS>
|
|
<RELEASE>n</RELEASE>
|
|
<SERIAL_CONSOLE>/dev/ttyS3</SERIAL_CONSOLE>
|
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
|
</DEBUG_OPTIONS>
|
|
<FEATURES>
|
|
<RELOC>y</RELOC>
|
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
|
<MULTIBOOT2>y</MULTIBOOT2>
|
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
|
<RDT>
|
|
<RDT_ENABLED>y</RDT_ENABLED>
|
|
<CDP_ENABLED>n</CDP_ENABLED>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<CLOS_MASK>0xfff</CLOS_MASK>
|
|
<MBA_DELAY>0</MBA_DELAY>
|
|
</RDT>
|
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
|
<IVSHMEM>
|
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
|
<IVSHMEM_REGION/>
|
|
</IVSHMEM>
|
|
</FEATURES>
|
|
<MEMORY>
|
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
|
<HV_RAM_SIZE/>
|
|
<HV_RAM_START/>
|
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
|
</MEMORY>
|
|
<CAPACITIES>
|
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
|
<MAX_MSIX_TABLE_NUM>64</MAX_MSIX_TABLE_NUM>
|
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
|
</CAPACITIES>
|
|
<MISC_CFG>
|
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
|
</MISC_CFG>
|
|
</hv>
|
|
<vm id="0">
|
|
<vm_type>SOS_VM</vm_type>
|
|
<name>ACRN SOS VM</name>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<memory>
|
|
<start_hpa>0</start_hpa>
|
|
<size>0x20000000</size>
|
|
</memory>
|
|
<os_config>
|
|
<name>ACRN Service OS</name>
|
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
|
<kern_mod>Linux_bzImage</kern_mod>
|
|
<ramdisk_mod/>
|
|
<bootargs>SOS_VM_BOOTARGS</bootargs>
|
|
</os_config>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>SOS_COM1_BASE</base>
|
|
<irq>SOS_COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>SOS_COM2_BASE</base>
|
|
<irq>SOS_COM2_IRQ</irq>
|
|
<target_vm_id>2</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<pci_devs>
|
|
<pci_dev/>
|
|
</pci_devs>
|
|
<board_private>
|
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
|
<bootargs>
|
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
|
i915.nuclear_pageflip=1 swiotlb=131072
|
|
</bootargs>
|
|
</board_private>
|
|
</vm>
|
|
<vm id="1">
|
|
<vm_type>POST_STD_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="2">
|
|
<vm_type>POST_RT_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>2</pcpu_id>
|
|
<pcpu_id>3</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM2_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="3">
|
|
<vm_type>POST_STD_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="4">
|
|
<vm_type>POST_STD_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="5">
|
|
<vm_type>POST_STD_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="6">
|
|
<vm_type>POST_STD_VM</vm_type>
|
|
<guest_flags>
|
|
<guest_flag>0</guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>COM1_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
<vm id="7">
|
|
<vm_type>KATA_VM</vm_type>
|
|
<cpu_affinity>
|
|
<pcpu_id>0</pcpu_id>
|
|
<pcpu_id>1</pcpu_id>
|
|
</cpu_affinity>
|
|
<clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section>
|
|
<base>0</base>
|
|
<size>0</size>
|
|
</epc_section>
|
|
<legacy_vuart id="0">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM1_IRQ</irq>
|
|
</legacy_vuart>
|
|
<legacy_vuart id="1">
|
|
<type>VUART_LEGACY_PIO</type>
|
|
<base>INVALID_COM_BASE</base>
|
|
<irq>COM2_IRQ</irq>
|
|
<target_vm_id>0</target_vm_id>
|
|
<target_uart_id>0</target_uart_id>
|
|
</legacy_vuart>
|
|
<console_vuart id="0">
|
|
<base>INVALID_PCI_BASE</base>
|
|
</console_vuart>
|
|
<communication_vuart id="1">
|
|
<base>INVALID_PCI_BASE</base>
|
|
<target_vm_id>1</target_vm_id>
|
|
<target_uart_id>1</target_uart_id>
|
|
</communication_vuart>
|
|
<PTM>n</PTM>
|
|
</vm>
|
|
</acrn-config>
|