mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-18 11:47:30 +00:00
acrn-config: refine template xmls
1. Set default value for HV template. 2. Refine vuartx in template vm setting xmls. Tracked-On: #4641 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
369547aa63
commit
602c87acb8
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -1,51 +1,51 @@
|
||||
<acrn-config board="generic" scenario="hybrid">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug."></RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version."></SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory"></MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log"></NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console"></CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed."></LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu."></LOG_BUF_SIZE>
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug.">n</RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory">5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log">5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console">3</CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed.">7</LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu.">0x40000</LOG_BUF_SIZE>
|
||||
</DEBUG_OPTIONS>
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation"></RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor."></SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol."></MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment"></HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation."></IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing."></ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry."></L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change."></MCE_ON_PSC_DISABLED>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing.">y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry.">n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change.">n</MCE_ON_PSC_DISABLED>
|
||||
</FEATURES>
|
||||
|
||||
<MEMORY>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes."></STACK_SIZE>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes.">0x2000</STACK_SIZE>
|
||||
<HV_RAM_SIZE desc="Size of the RAM region used by the hypervisor"></HV_RAM_SIZE>
|
||||
<HV_RAM_START desc="2M-aligned Start physical address of the RAM region used by the hypervisor."></HV_RAM_START>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region"></LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM."></UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM."></SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM"></PLATFORM_RAM_SIZE>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region">0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM.">0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM.">0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM">0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
<CAPACITIES desc="Capacity limits for static assigned data struct or maximum supported resouce">
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization."></IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries."></MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs."></MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS."></MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices."></MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC."></MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices."></MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device."></MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions."></MAX_EMULATED_MMIO>
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization.">0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries.">256</MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS.">0</MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices.">96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC.">120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">64</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device.">16</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU."></GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name."></UEFI_OS_LOADER_NAME>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU.">0x00000010</GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name.">\\EFI\\org.clearlinux\\bootloaderx64.efi</UEFI_OS_LOADER_NAME>
|
||||
</MISC_CFG>
|
||||
</hv>
|
||||
|
||||
|
@ -1,51 +1,51 @@
|
||||
<acrn-config board="generic" scenario="industry">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug."></RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version."></SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory"></MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log"></NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console"></CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed."></LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu."></LOG_BUF_SIZE>
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug.">n</RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory">5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log">5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console">3</CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed.">7</LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu.">0x40000</LOG_BUF_SIZE>
|
||||
</DEBUG_OPTIONS>
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation"></RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor."></SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol."></MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment"></HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation."></IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing."></ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry."></L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change."></MCE_ON_PSC_DISABLED>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing.">y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry.">n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change.">n</MCE_ON_PSC_DISABLED>
|
||||
</FEATURES>
|
||||
|
||||
<MEMORY>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes."></STACK_SIZE>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes.">0x2000</STACK_SIZE>
|
||||
<HV_RAM_SIZE desc="Size of the RAM region used by the hypervisor"></HV_RAM_SIZE>
|
||||
<HV_RAM_START desc="2M-aligned Start physical address of the RAM region used by the hypervisor."></HV_RAM_START>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region"></LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM."></UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM."></SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM"></PLATFORM_RAM_SIZE>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region">0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM.">0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM.">0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM">0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
<CAPACITIES desc="Capacity limits for static assigned data struct or maximum supported resouce">
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization."></IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries."></MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs."></MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS."></MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices."></MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC."></MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices."></MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device."></MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions."></MAX_EMULATED_MMIO>
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization.">0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries.">256</MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS.">0</MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices.">96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC.">120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">64</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device.">16</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU."></GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name."></UEFI_OS_LOADER_NAME>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU.">0x00000010</GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name.">\\EFI\\org.clearlinux\\bootloaderx64.efi</UEFI_OS_LOADER_NAME>
|
||||
</MISC_CFG>
|
||||
</hv>
|
||||
|
||||
|
@ -1,51 +1,51 @@
|
||||
<acrn-config board="generic" scenario="logical_partition">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug."></RELEASE>
|
||||
<SERIAL_CONSOLE configurable="0" desc="The serial device which is used for hypervisor debug, only valid on Debug version."></SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory"></MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log"></NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console"></CONSOLE_LOGLEVEL>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu."></LOG_BUF_SIZE>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed."></LOG_DESTINATION>
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug.">n</RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory">5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log">5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console">3</CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed.">7</LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu.">0x40000</LOG_BUF_SIZE>
|
||||
</DEBUG_OPTIONS>
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation"></RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor."></SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol."></MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment"></HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation."></IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing."></ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry."></L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change."></MCE_ON_PSC_DISABLED>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing.">y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry.">n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change.">n</MCE_ON_PSC_DISABLED>
|
||||
</FEATURES>
|
||||
|
||||
<MEMORY>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes."></STACK_SIZE>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes.">0x2000</STACK_SIZE>
|
||||
<HV_RAM_SIZE desc="Size of the RAM region used by the hypervisor"></HV_RAM_SIZE>
|
||||
<HV_RAM_START desc="2M-aligned Start physical address of the RAM region used by the hypervisor."></HV_RAM_START>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region"></LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM."></UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM."></SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM"></PLATFORM_RAM_SIZE>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region">0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM.">0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM.">0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM">0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
<CAPACITIES desc="Capacity limits for static assigned data struct or maximum supported resouce">
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization."></IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries."></MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs."></MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS."></MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices."></MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC."></MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices."></MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device."></MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions."></MAX_EMULATED_MMIO>
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization.">0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries.">256</MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS.">0</MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices.">96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC.">120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">64</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device.">16</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU."></GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name."></UEFI_OS_LOADER_NAME>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU.">0x00000010</GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name.">\\EFI\\org.clearlinux\\bootloaderx64.efi</UEFI_OS_LOADER_NAME>
|
||||
</MISC_CFG>
|
||||
</hv>
|
||||
|
||||
|
@ -1,51 +1,51 @@
|
||||
<acrn-config board="generic" scenario="sdc">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug."></RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version."></SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory"></MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log"></NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console"></CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed."></LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu."></LOG_BUF_SIZE>
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug.">n</RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory">5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log">5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console">3</CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed.">7</LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu.">0x40000</LOG_BUF_SIZE>
|
||||
</DEBUG_OPTIONS>
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation"></RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor."></SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol."></MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment"></HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation."></IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing."></ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry."></L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change."></MCE_ON_PSC_DISABLED>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing.">y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry.">n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change.">n</MCE_ON_PSC_DISABLED>
|
||||
</FEATURES>
|
||||
|
||||
<MEMORY>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes."></STACK_SIZE>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes.">0x2000</STACK_SIZE>
|
||||
<HV_RAM_SIZE desc="Size of the RAM region used by the hypervisor"></HV_RAM_SIZE>
|
||||
<HV_RAM_START desc="2M-aligned Start physical address of the RAM region used by the hypervisor."></HV_RAM_START>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region"></LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM."></UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM."></SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM"></PLATFORM_RAM_SIZE>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region">0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM.">0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM.">0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM">0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
<CAPACITIES desc="Capacity limits for static assigned data struct or maximum supported resouce">
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization."></IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries."></MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs."></MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS."></MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices."></MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC."></MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices."></MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device."></MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions."></MAX_EMULATED_MMIO>
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization.">0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries.">256</MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS.">0</MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices.">96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC.">120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">64</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device.">16</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU."></GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name."></UEFI_OS_LOADER_NAME>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU.">0x00000010</GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name.">\\EFI\\org.clearlinux\\bootloaderx64.efi</UEFI_OS_LOADER_NAME>
|
||||
</MISC_CFG>
|
||||
</hv>
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -1,51 +1,51 @@
|
||||
<acrn-config board="" scenario="">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug."></RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version."></SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory"></MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log"></NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console"></CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed."></LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu."></LOG_BUF_SIZE>
|
||||
<RELEASE desc="Release build. 'y' for Release, 'n' for Debug.">n</RELEASE>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL desc="Default loglevel in memory">5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL desc="Default loglevel for the hypervisor NPK log">5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL desc="Default loglevel on the serial console">3</CONSOLE_LOGLEVEL>
|
||||
<LOG_DESTINATION desc="Bitmap of consoles where logs are printed.">7</LOG_DESTINATION>
|
||||
<LOG_BUF_SIZE desc="Capacity of logbuf for each physical cpu.">0x40000</LOG_BUF_SIZE>
|
||||
</DEBUG_OPTIONS>
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation"></RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor."></SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol."></MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment"></HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation."></IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing."></ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry."></L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change."></MCE_ON_PSC_DISABLED>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED desc="Enable ACPI runtime parsing.">y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED desc="Enable L1 cache flush before VM entry.">n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED desc="Force to disable software workaround for Machine Check Error on Page Size Change.">n</MCE_ON_PSC_DISABLED>
|
||||
</FEATURES>
|
||||
|
||||
<MEMORY>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes."></STACK_SIZE>
|
||||
<STACK_SIZE desc="Capacity of one stack, in bytes.">0x2000</STACK_SIZE>
|
||||
<HV_RAM_SIZE desc="Size of the RAM region used by the hypervisor"></HV_RAM_SIZE>
|
||||
<HV_RAM_START desc="2M-aligned Start physical address of the RAM region used by the hypervisor."></HV_RAM_START>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region"></LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM."></UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM."></SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM"></PLATFORM_RAM_SIZE>
|
||||
<LOW_RAM_SIZE desc="Size of the low RAM region">0x00010000</LOW_RAM_SIZE>
|
||||
<UOS_RAM_SIZE desc="Size of the User OS (UOS) RAM.">0x200000000</UOS_RAM_SIZE>
|
||||
<SOS_RAM_SIZE desc="Size of the Service OS (SOS) RAM.">0x400000000</SOS_RAM_SIZE>
|
||||
<PLATFORM_RAM_SIZE desc="Size of the physical platform RAM">0x400000000</PLATFORM_RAM_SIZE>
|
||||
</MEMORY>
|
||||
|
||||
<CAPACITIES desc="Capacity limits for static assigned data struct or maximum supported resouce">
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization."></IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries."></MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs."></MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS."></MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices."></MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC."></MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices."></MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device."></MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions."></MAX_EMULATED_MMIO>
|
||||
<IOMMU_BUS_NUM desc="Highest PCI bus ID used during IOMMU initialization.">0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IR_ENTRIES desc="Maximum number of Interrupt Remapping Entries.">256</MAX_IR_ENTRIES>
|
||||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_NUM>
|
||||
<MAX_KATA_VM_NUM desc="Maximum number of Kata Containers in SOS.">0</MAX_KATA_VM_NUM>
|
||||
<MAX_PCI_DEV_NUM desc="Maximum number of PCI devices.">96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES desc="Maximum number of interrupt lines per IOAPIC.">120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">64</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device.">16</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU."></GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name."></UEFI_OS_LOADER_NAME>
|
||||
<GPU_SBDF desc="Segment, Bus, Device, and function of the GPU.">0x00000010</GPU_SBDF>
|
||||
<UEFI_OS_LOADER_NAME desc="UEFI OS loader name.">\\EFI\\org.clearlinux\\bootloaderx64.efi</UEFI_OS_LOADER_NAME>
|
||||
</MISC_CFG>
|
||||
</hv>
|
||||
</acrn-config>
|
||||
|
@ -16,12 +16,12 @@
|
||||
</epc_section>
|
||||
<vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
||||
</vuart>
|
||||
<vuart id="1">
|
||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
|
@ -16,12 +16,12 @@
|
||||
</epc_section>
|
||||
<vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
||||
</vuart>
|
||||
<vuart id="1">
|
||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
|
@ -36,14 +36,14 @@
|
||||
</vuart>
|
||||
<vuart id="1">
|
||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
</vuart>
|
||||
<pci_devs configurable="0" desc="pci devices list">
|
||||
<pci_dev desc="pci device">00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)</pci_dev>
|
||||
<pci_dev desc="pci device">03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
||||
<pci_devs desc="pci devices list">
|
||||
<pci_dev desc="pci device"></pci_dev>
|
||||
<pci_dev desc="pci device"></pci_dev>
|
||||
</pci_devs>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@ -32,12 +32,12 @@
|
||||
</os_config>
|
||||
<vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
|
||||
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
||||
</vuart>
|
||||
<vuart id="1">
|
||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
|
@ -26,7 +26,7 @@
|
||||
</vuart>
|
||||
<vuart id="1">
|
||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address."></base>
|
||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||
<irq configurable="0" desc="vCOM2 irq">SOS_COM2_IRQ</irq>
|
||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<FEATURES>
|
||||
<RELOC desc="Enable hypervisor relocation">y</RELOC>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_NOOP</SCHEDULER>
|
||||
<SCHEDULER desc="The CPU scheduler to be used by the hypervisor.">SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2 desc="Support boot ACRN from multiboot2 protocol.">y</MULTIBOOT2>
|
||||
<HYPERV_ENABLED desc="Enable Hyper-V enlightenment">y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP desc="IOMMU enforce snoop behavior of DMA operation.">n</IOMMU_ENFORCE_SNP>
|
||||
|
Loading…
Reference in New Issue
Block a user