mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-02 08:19:16 +00:00
1.Add RDT feature in scenario xmls, add set RDT_ENABLED=y, CDP_ENABLED=n by default for industry scenario if HW support RDT. 2.Add CLOS_MASK in xmls to configurable and set them to '0xff' by default if HW support RDT. 3.Remove configurable="0" of clos for PRE launched VM and POST VM, currently, remain configurable="0" for SOS VM. 4.Add vcpu_clos to match the pcpu_id number, and set vcpu_clos to 0. Tracked-On: #4860 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
50 lines
3.3 KiB
XML
50 lines
3.3 KiB
XML
<acrn-config board="" scenario="">
|
|
<vm id="0">
|
|
<vm_type desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">SAFETY_VM</vm_type>
|
|
<name desc="Specify the VM name which will be shown in hypervisor console command: vm_list."></name>
|
|
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
|
|
<guest_flag></guest_flag>
|
|
</guest_flags>
|
|
<cpu_affinity desc="List of pCPU: the guest VM is allowed to create vCPU from all or a subset of this list.">
|
|
<pcpu_id></pcpu_id>
|
|
</cpu_affinity>
|
|
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">
|
|
<vcpu_clos>0</vcpu_clos>
|
|
</clos>
|
|
<epc_section configurable="0" desc="epc section">
|
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
|
<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"></start_hpa>
|
|
<size desc="The memory size in Bytes for the VM"></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."></name>
|
|
<kern_type desc="Specify the kernel image type so that hypervisor could load it correctly. Currently support KERNEL_BZIMAGE and KERNEL_ZEPHYR."></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."></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."></ramdisk_mod>
|
|
<bootargs desc="Specify kernel boot arguments"></bootargs>
|
|
<kern_load_addr desc="The loading address in host memory for the VM kernel"></kern_load_addr>
|
|
<kern_entry_addr desc="The entry address in host memory for the VM kernel"></kern_entry_addr>
|
|
</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.">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.">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.">0</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"></pci_dev>
|
|
</pci_devs>
|
|
</vm>
|
|
</acrn-config>
|