acrn-config: update logical_partition for ehl-crb-b
main changes: 1. The VM1 is updated to RT Linux; 2. Enable IVSHMEM; Tracked-On: #4798 Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
bd8cf19beb
commit
74e1195077
|
@ -3,7 +3,7 @@
|
|||
<hv>
|
||||
<DEBUG_OPTIONS desc="Debug options for ACRN hypervisor, only valid on debug version">
|
||||
<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>
|
||||
<SERIAL_CONSOLE desc="The serial device which is used for hypervisor debug, only valid on Debug version.">/dev/ttyS3</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>
|
||||
|
@ -40,8 +40,8 @@
|
|||
<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>
|
||||
<IVSHMEM desc="IVSHMEM configuration">
|
||||
<IVSHMEM_ENABLED desc="Enable Share Memory between VMs by IVSHMEM.">n</IVSHMEM_ENABLED>
|
||||
<IVSHMEM_REGION desc="the name, size, IDs of communication VMs of share memory region, input format: hv:/<shm name>,<shm size in MB>,<vm id:vm id[:vm id,...]>"></IVSHMEM_REGION>
|
||||
<IVSHMEM_ENABLED desc="Enable Share Memory between VMs by IVSHMEM.">y</IVSHMEM_ENABLED>
|
||||
<IVSHMEM_REGION desc="the name, size, IDs of communication VMs of share memory region, input format: hv:/<shm name>,<shm size in MB>,<vm id:vm id[:vm id,...]>">hv:/shmem,2,0:1</IVSHMEM_REGION>
|
||||
</IVSHMEM>
|
||||
</FEATURES>
|
||||
<MEMORY>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<MAX_IOAPIC_NUM desc="Maximum number of IO-APICs.">1</MAX_IOAPIC_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_PT_IRQ_ENTRIES desc="Maximum number of interrupt source for PT devices.">256</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM desc="Maximum number of MSI-X tables per device. Please leave it blank if not sure.">64</MAX_MSIX_TABLE_NUM>
|
||||
<MAX_EMULATED_MMIO desc="Maximum number of emulated MMIO regions.">16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
|
@ -89,18 +89,19 @@
|
|||
</epc_section>
|
||||
<memory>
|
||||
<start_hpa desc="The start physical address in host for the VM">0x100000000</start_hpa>
|
||||
<size desc="The memory size in Bytes for the VM">0x20000000</size>
|
||||
<start_hpa2 desc="Start of second HPA for non-contiguous allocations in host for the VM">0x0</start_hpa2>
|
||||
<size_hpa2 desc="Memory size of second HPA for non-contiguous allocations in Bytes for the VM">0x0</size_hpa2>
|
||||
<size desc="The memory size in Bytes for the VM">0x80000000</size>
|
||||
<start_hpa2 configurable="0" desc="Start of second HPA for non-contiguous allocations in host for the VM">0x0</start_hpa2>
|
||||
<size_hpa2 configurable="0" desc="Memory size of second HPA for non-contiguous allocations in Bytes for the VM">0x0</size_hpa2>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">YOCTO</name>
|
||||
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">Yocto Linux</name>
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
</bootargs>
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||
swiotlb=131072
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -115,18 +116,22 @@
|
|||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
</vuart>
|
||||
<pci_devs desc="pci devices list">
|
||||
<pci_dev desc="pci device" />
|
||||
<pci_dev desc="pci device" />
|
||||
<pci_dev desc="pci device">00:14.0 USB controller: Intel Corporation Device 4b7d</pci_dev>
|
||||
<pci_dev desc="pci device">00:1a.3 Non-VGA unclassified device [0000]: Intel Corporation Device 4b4a</pci_dev>
|
||||
<pci_dev desc="pci device">00:1d.1 Ethernet controller: Intel Corporation Device 4ba0</pci_dev>
|
||||
</pci_devs>
|
||||
<mmio_resources desc="mmio devices list to passthrough">
|
||||
<TPM2 desc="TPM2 device">n</TPM2>
|
||||
<p2sb>n</p2sb>
|
||||
</mmio_resources>
|
||||
<pt_intx desc="pt intx mapping."></pt_intx>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<vm_type desc="Specify the VM type" readonly="true">PRE_STD_VM</vm_type>
|
||||
<name desc="vm_name">ACRN PRE-LAUNCHED VM1</name>
|
||||
<vm_type desc="Specify the VM type">PRE_RT_VM</vm_type>
|
||||
<name desc="Specify the VM name which will be shown in hypervisor console command: vm_list.">ACRN PRE-LAUNCHED RT VM1</name>
|
||||
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
|
||||
<guest_flag></guest_flag>
|
||||
<guest_flag>GUEST_FLAG_LAPIC_PASSTHROUGH</guest_flag>
|
||||
<guest_flag>GUEST_FLAG_RT</guest_flag>
|
||||
</guest_flags>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id>1</pcpu_id>
|
||||
|
@ -141,20 +146,20 @@
|
|||
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||
</epc_section>
|
||||
<memory>
|
||||
<start_hpa desc="The start physical address in host for the VM">0x120000000</start_hpa>
|
||||
<size desc="The memory size in Bytes for the VM">0x20000000</size>
|
||||
<start_hpa2 desc="Start of second HPA for non-contiguous allocations in host for the VM">0x0</start_hpa2>
|
||||
<size_hpa2 desc="Memory size of second HPA for non-contiguous allocations in Bytes for the VM">0x0</size_hpa2>
|
||||
<start_hpa desc="The start physical address in host for the VM">0x180000000</start_hpa>
|
||||
<size desc="The memory size in Bytes for the VM">0x100000000</size>
|
||||
<start_hpa2 configurable="0" desc="Start of second HPA for non-contiguous allocations in host for the VM">0x0</start_hpa2>
|
||||
<size_hpa2 configurable="0" desc="Memory size of second HPA for non-contiguous allocations in Bytes for the VM">0x0</size_hpa2>
|
||||
</memory>
|
||||
<os_config>
|
||||
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">YOCTO</name>
|
||||
<kern_type desc="kernel name">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">Linux_bzImage</kern_mod>
|
||||
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">Yocto RTLinux</name>
|
||||
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR.">KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline.">RT_bzImage</kern_mod>
|
||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline." />
|
||||
<bootargs desc="Specify kernel boot arguments">
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable
|
||||
</bootargs>
|
||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||
consoleblank=0 tsc=reliable swiotlb=131072
|
||||
</bootargs>
|
||||
</os_config>
|
||||
<vuart id="0">
|
||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||
|
@ -169,8 +174,9 @@
|
|||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||
</vuart>
|
||||
<pci_devs desc="pci devices list">
|
||||
<pci_dev desc="pci device" />
|
||||
<pci_dev desc="pci device" />
|
||||
<pci_dev desc="pci device">00:08.0 System peripheral: Intel Corporation Device 4511</pci_dev>
|
||||
<pci_dev desc="pci device">00:17.0 SATA controller: Intel Corporation Device 4b63</pci_dev>
|
||||
<pci_dev desc="pci device">00:1d.2 Ethernet controller: Intel Corporation Device 4bb0</pci_dev>
|
||||
</pci_devs>
|
||||
<mmio_resources desc="mmio devices list to passthrough">
|
||||
<TPM2 desc="TPM2 device">n</TPM2>
|
||||
|
|
Loading…
Reference in New Issue