mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
config_tool: reformat scenario and launch xml
reformat scenario and launch xml Tracked-On: #6685 Signed-off-by: Weiyi Feng <weiyix.feng@intel.com>
This commit is contained in:
@@ -1,184 +1,178 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="cfl-k700-i7" scenario="hybrid_rt">
|
<acrn-config board="cfl-k700-i7" scenario="hybrid_rt">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>y</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>y</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION>hv:/shm_region_0, 2, 0:2</IVSHMEM_REGION>
|
<IVSHMEM_REGION>hv:/shm_region_0, 2, 0:2</IVSHMEM_REGION>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
<UEFI_OS_LOADER_NAME/>
|
<UEFI_OS_LOADER_NAME/>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>PRE_RT_VM</vm_type>
|
<vm_type>PRE_RT_VM</vm_type>
|
||||||
<name>PRE_RT_VM0</name>
|
<name>PRE_RT_VM0</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>GUEST_FLAG_LAPIC_PASSTHROUGH</guest_flag>
|
<guest_flag>GUEST_FLAG_LAPIC_PASSTHROUGH</guest_flag>
|
||||||
<guest_flag>GUEST_FLAG_RT</guest_flag>
|
<guest_flag>GUEST_FLAG_RT</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>6</pcpu_id>
|
<pcpu_id>6</pcpu_id>
|
||||||
<pcpu_id>7</pcpu_id>
|
<pcpu_id>7</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0x100000000</start_hpa>
|
<start_hpa>0x100000000</start_hpa>
|
||||||
<size>0x40000000</size>
|
<size>0x40000000</size>
|
||||||
<start_hpa2>0x0</start_hpa2>
|
<start_hpa2>0x0</start_hpa2>
|
||||||
<size_hpa2>0x0</size_hpa2>
|
<size_hpa2>0x0</size_hpa2>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>PREEMPT-RT</name>
|
<name>PREEMPT-RT</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>RT_bzImage</kern_mod>
|
<kern_mod>RT_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>rw rootwait root=/dev/nvme0n1p3 earlyprintk=serial,ttyS0,115200 rootfstype=ext4 console=ttyS0,115200 console=tty0 rw nohpet console=hvc0 no_timer_check ignore_loglevel
|
<bootargs>rw rootwait root=/dev/nvme0n1p3 earlyprintk=serial,ttyS0,115200 rootfstype=ext4 console=ttyS0,115200 console=tty0 rw nohpet console=hvc0 no_timer_check ignore_loglevel
|
||||||
log_buf_len=16M consoleblank=0 tsc=reliable clocksource=tsc x2apic_phys processor.max_cstate=0 intel_idle.max_cstate=0 intel_pstate=disable mce=ignore_ce audit=0 isolcpus=nohz,domain,1 nohz_full=1 rcu_nocbs=1 nosoftlockup
|
log_buf_len=16M consoleblank=0 tsc=reliable clocksource=tsc x2apic_phys processor.max_cstate=0 intel_idle.max_cstate=0 intel_pstate=disable mce=ignore_ce audit=0 isolcpus=nohz,domain,1 nohz_full=1 rcu_nocbs=1 nosoftlockup
|
||||||
idle=poll irqaffinity=0 no_ipi_broadcast=1 reboot=acpi
|
idle=poll irqaffinity=0 no_ipi_broadcast=1 reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)</pci_dev>
|
<pci_dev>00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)</pci_dev>
|
||||||
<pci_dev>09:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)</pci_dev>
|
<pci_dev>09:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)</pci_dev>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="1">
|
<vm id="1">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
<pcpu_id>4</pcpu_id>
|
<pcpu_id>4</pcpu_id>
|
||||||
<pcpu_id>5</pcpu_id>
|
<pcpu_id>5</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM2_BASE</base>
|
<base>SERVICE_VM_COM2_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=ttyS0,115200n8 ignore_loglevel no_timer_check
|
rw rootwait console=ttyS0,115200n8 ignore_loglevel no_timer_check
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</board_private>
|
</board_private>
|
||||||
@@ -187,41 +181,41 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>0</target_uart_id>
|
<target_uart_id>0</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -229,40 +223,40 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM2</name>
|
<name>POST_STD_VM2</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>4</pcpu_id>
|
<pcpu_id>4</pcpu_id>
|
||||||
<pcpu_id>5</pcpu_id>
|
<pcpu_id>5</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>0</target_uart_id>
|
<target_uart_id>0</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,109 +1,103 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="cfl-k700-i7" scenario="shared">
|
<acrn-config board="cfl-k700-i7" scenario="shared">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x800000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
<UEFI_OS_LOADER_NAME>\\EFI\\BOOT\\bootx64.efi</UEFI_OS_LOADER_NAME>
|
<UEFI_OS_LOADER_NAME>\\EFI\\BOOT\\bootx64.efi</UEFI_OS_LOADER_NAME>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
<size>0x20000000</size>
|
<size>0x20000000</size>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM2_BASE</base>
|
<base>SERVICE_VM_COM2_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>2</target_vm_id>
|
<target_vm_id>2</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||||
i915.nuclear_pageflip=1
|
i915.nuclear_pageflip=1
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -113,78 +107,78 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="2">
|
<vm id="2">
|
||||||
<vm_type>POST_RT_VM</vm_type>
|
<vm_type>POST_RT_VM</vm_type>
|
||||||
<name>POST_RT_VM1</name>
|
<name>POST_RT_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -192,39 +186,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM2</name>
|
<name>POST_STD_VM2</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -232,39 +226,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM3</name>
|
<name>POST_STD_VM3</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -272,39 +266,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM4</name>
|
<name>POST_STD_VM4</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -312,40 +306,40 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM5</name>
|
<name>POST_STD_VM5</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<pt_intx> </pt_intx>
|
<pt_intx> </pt_intx>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<name>Zephyr</name>
|
<name>Zephyr</name>
|
||||||
<kern_type>KERNEL_ELF</kern_type>
|
<kern_type>KERNEL_ELF</kern_type>
|
||||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs/>
|
<bootargs/>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
@@ -249,4 +249,4 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,94 +1,94 @@
|
|||||||
<acrn-config board="generic_board" scenario="hybrid" user_vm_launcher="2">
|
<acrn-config board="generic_board" scenario="hybrid" user_vm_launcher="2">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -57,7 +57,7 @@
|
|||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
@@ -258,4 +258,4 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs> rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
<bootargs> rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)</pci_dev>
|
<pci_dev>00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)</pci_dev>
|
||||||
<pci_dev>58:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)</pci_dev>
|
<pci_dev>58:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)</pci_dev>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs> rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
<bootargs> rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||||
consoleblank=0 tsc=reliable reboot=acpi
|
consoleblank=0 tsc=reliable reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -175,10 +175,10 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)</pci_dev>
|
<pci_dev>00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)</pci_dev>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
@@ -350,4 +350,4 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,278 +1,278 @@
|
|||||||
<acrn-config board="generic_board" scenario="shared" user_vm_launcher="6">
|
<acrn-config board="generic_board" scenario="shared" user_vm_launcher="6">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="UOS type">WINDOWS</user_vm_type>
|
<user_vm_type desc="UOS type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="UOS type">PREEMPT-RT LINUX</user_vm_type>
|
<user_vm_type desc="UOS type">PREEMPT-RT LINUX</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="UOS Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">1024</mem_size>
|
<mem_size desc="UOS memory size in MByte">1024</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="3">
|
<user_vm id="3">
|
||||||
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG3</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG3</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="4">
|
<user_vm id="4">
|
||||||
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG4</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG4</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="5">
|
<user_vm id="5">
|
||||||
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG5</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG5</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="6">
|
<user_vm id="6">
|
||||||
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
<user_vm_type desc="UOS type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
<mem_size desc="UOS memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG6</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG6</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<pt_intx> </pt_intx>
|
<pt_intx> </pt_intx>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
<name>Zephyr</name>
|
<name>Zephyr</name>
|
||||||
<kern_type>KERNEL_ELF</kern_type>
|
<kern_type>KERNEL_ELF</kern_type>
|
||||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs/>
|
<bootargs/>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -164,7 +164,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
@@ -249,4 +249,4 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,94 +1,94 @@
|
|||||||
<acrn-config board="nuc11tnbi5" scenario="hybrid" user_vm_launcher="2">
|
<acrn-config board="nuc11tnbi5" scenario="hybrid" user_vm_launcher="2">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs> rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
<bootargs> rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)</pci_dev>
|
<pci_dev>00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)</pci_dev>
|
||||||
<pci_dev>58:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)</pci_dev>
|
<pci_dev>58:00.0 Ethernet controller: Intel Corporation Device 15f2 (rev 03)</pci_dev>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs> rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
<bootargs> rw rootwait root=/dev/sda2 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||||
consoleblank=0 tsc=reliable reboot=acpi
|
consoleblank=0 tsc=reliable reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -175,10 +175,10 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)</pci_dev>
|
<pci_dev>00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)</pci_dev>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -37,7 +37,7 @@
|
|||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION></IVSHMEM_REGION>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
@@ -76,7 +76,7 @@
|
|||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod></ramdisk_mod>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev></pci_dev>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
@@ -350,4 +350,4 @@
|
|||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,278 +1,278 @@
|
|||||||
<acrn-config board="nuc11tnbi5" scenario="shared" user_vm_launcher="6">
|
<acrn-config board="nuc11tnbi5" scenario="shared" user_vm_launcher="6">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="3">
|
<user_vm id="3">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG3</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG3</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="4">
|
<user_vm id="4">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG4</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG4</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="5">
|
<user_vm id="5">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG5</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG5</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="6">
|
<user_vm id="6">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG6</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">YaaG6</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./YaaG.img</block>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,108 +1,102 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="qemu" scenario="sdc">
|
<acrn-config board="qemu" scenario="sdc">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<HV_RAM_START>0x11000000</HV_RAM_START>
|
<HV_RAM_START>0x11000000</HV_RAM_START>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x100000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x100000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/vda1</rootfs>
|
<rootfs>/dev/vda1</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
earlyprintk=serial,ttyS0,115200n8 rw rootwait console=tty0 consoleblank=0 no_timer_check ignore_loglevel
|
earlyprintk=serial,ttyS0,115200n8 rw rootwait console=tty0 consoleblank=0 no_timer_check ignore_loglevel
|
||||||
ignore_loglevel no_timer_check intel_iommu=off tsc=reliable
|
ignore_loglevel no_timer_check intel_iommu=off tsc=reliable
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -112,37 +106,37 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,170 +1,164 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="whl-ipc-i5" scenario="hybrid">
|
<acrn-config board="whl-ipc-i5" scenario="hybrid">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>SAFETY_VM</vm_type>
|
<vm_type>SAFETY_VM</vm_type>
|
||||||
<name>SAFETY_VM0</name>
|
<name>SAFETY_VM0</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0x100000000</start_hpa>
|
<start_hpa>0x100000000</start_hpa>
|
||||||
<size>0x20000000</size>
|
<size>0x20000000</size>
|
||||||
<start_hpa2>0x0</start_hpa2>
|
<start_hpa2>0x0</start_hpa2>
|
||||||
<size_hpa2>0x0</size_hpa2>
|
<size_hpa2>0x0</size_hpa2>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>Zephyr</name>
|
<name>Zephyr</name>
|
||||||
<kern_type>KERNEL_ELF</kern_type>
|
<kern_type>KERNEL_ELF</kern_type>
|
||||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs></bootargs>
|
<bootargs/>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="1">
|
<vm id="1">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM2_BASE</base>
|
<base>SERVICE_VM_COM2_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/sda3</rootfs>
|
<rootfs>/dev/sda3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||||
i915.nuclear_pageflip=1
|
i915.nuclear_pageflip=1
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -174,38 +168,38 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>0</target_uart_id>
|
<target_uart_id>0</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,175 +1,169 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="whl-ipc-i5" scenario="hybrid_rt">
|
<acrn-config board="whl-ipc-i5" scenario="hybrid_rt">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>y</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>y</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION>hv:/shm_region_0, 2, 0:2</IVSHMEM_REGION>
|
<IVSHMEM_REGION>hv:/shm_region_0, 2, 0:2</IVSHMEM_REGION>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>PRE_RT_VM</vm_type>
|
<vm_type>PRE_RT_VM</vm_type>
|
||||||
<name>PRE_RT_VM0</name>
|
<name>PRE_RT_VM0</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>GUEST_FLAG_LAPIC_PASSTHROUGH</guest_flag>
|
<guest_flag>GUEST_FLAG_LAPIC_PASSTHROUGH</guest_flag>
|
||||||
<guest_flag>GUEST_FLAG_RT</guest_flag>
|
<guest_flag>GUEST_FLAG_RT</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0x100000000</start_hpa>
|
<start_hpa>0x100000000</start_hpa>
|
||||||
<size>0x40000000</size>
|
<size>0x40000000</size>
|
||||||
<start_hpa2>0x0</start_hpa2>
|
<start_hpa2>0x0</start_hpa2>
|
||||||
<size_hpa2>0x0</size_hpa2>
|
<size_hpa2>0x0</size_hpa2>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>PREEMPT-RT</name>
|
<name>PREEMPT-RT</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>RT_bzImage</kern_mod>
|
<kern_mod>RT_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>rw rootwait root=/dev/sda3 rootfstype=ext4 console=ttyS0,115200 console=tty0 rw nohpet console=hvc0 no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
<bootargs>rw rootwait root=/dev/sda3 rootfstype=ext4 console=ttyS0,115200 console=tty0 rw nohpet console=hvc0 no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||||
clocksource=tsc x2apic_phys processor.max_cstate=0 intel_idle.max_cstate=0 intel_pstate=disable mce=ignore_ce audit=0 isolcpus=nohz,domain,1 nohz_full=1 rcu_nocbs=1 nosoftlockup idle=poll irqaffinity=0 no_ipi_broadcast=1
|
clocksource=tsc x2apic_phys processor.max_cstate=0 intel_idle.max_cstate=0 intel_pstate=disable mce=ignore_ce audit=0 isolcpus=nohz,domain,1 nohz_full=1 rcu_nocbs=1 nosoftlockup idle=poll irqaffinity=0 no_ipi_broadcast=1
|
||||||
reboot=acpi
|
reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)</pci_dev>
|
<pci_dev>00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)</pci_dev>
|
||||||
<pci_dev>03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
<pci_dev>03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="1">
|
<vm id="1">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM2_BASE</base>
|
<base>SERVICE_VM_COM2_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/nvme0n1p3</rootfs>
|
<rootfs>/dev/nvme0n1p3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||||
i915.nuclear_pageflip=1
|
i915.nuclear_pageflip=1
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -179,39 +173,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>0</target_uart_id>
|
<target_uart_id>0</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -219,38 +213,38 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM2</name>
|
<name>POST_STD_VM2</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>0</target_uart_id>
|
<target_uart_id>0</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="hybrid_rt" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="hybrid_rt" user_vm_launcher="1">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memrory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, formated as hv:/shm_region_0,2097152"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,184 +1,178 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="whl-ipc-i5" scenario="partitioned">
|
<acrn-config board="whl-ipc-i5" scenario="partitioned">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>PRE_STD_VM</vm_type>
|
<vm_type>PRE_STD_VM</vm_type>
|
||||||
<name>PRE_STD_VM0</name>
|
<name>PRE_STD_VM0</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0x100000000</start_hpa>
|
<start_hpa>0x100000000</start_hpa>
|
||||||
<size>0x20000000</size>
|
<size>0x20000000</size>
|
||||||
<start_hpa2>0x0</start_hpa2>
|
<start_hpa2>0x0</start_hpa2>
|
||||||
<size_hpa2>0x0</size_hpa2>
|
<size_hpa2>0x0</size_hpa2>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M consoleblank=0 tsc=reliable
|
||||||
reboot=acpi
|
reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)</pci_dev>
|
<pci_dev>00:17.0 SATA controller: Intel Corporation Device 9dd3 (rev 30)</pci_dev>
|
||||||
<pci_dev>03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
<pci_dev>03:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="1">
|
<vm id="1">
|
||||||
<vm_type>PRE_STD_VM</vm_type>
|
<vm_type>PRE_STD_VM</vm_type>
|
||||||
<name>PRE_STD_VM1</name>
|
<name>PRE_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0x120000000</start_hpa>
|
<start_hpa>0x120000000</start_hpa>
|
||||||
<size>0x20000000</size>
|
<size>0x20000000</size>
|
||||||
<start_hpa2>0x0</start_hpa2>
|
<start_hpa2>0x0</start_hpa2>
|
||||||
<size_hpa2>0x0</size_hpa2>
|
<size_hpa2>0x0</size_hpa2>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>YOCTO</name>
|
<name>YOCTO</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
rw rootwait root=/dev/sda3 console=ttyS0 noxsave nohpet no_timer_check ignore_loglevel log_buf_len=16M
|
||||||
consoleblank=0 tsc=reliable reboot=acpi
|
consoleblank=0 tsc=reliable reboot=acpi
|
||||||
</bootargs>
|
</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev>00:14.0 USB controller: Intel Corporation Device 9ded (rev 30)</pci_dev>
|
<pci_dev>00:14.0 USB controller: Intel Corporation Device 9ded (rev 30)</pci_dev>
|
||||||
<pci_dev>04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
<pci_dev>04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)</pci_dev>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<mmio_resources>
|
<mmio_resources>
|
||||||
<TPM2>n</TPM2>
|
<TPM2>n</TPM2>
|
||||||
</mmio_resources>
|
</mmio_resources>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,107 +1,101 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="whl-ipc-i5" scenario="sdc">
|
<acrn-config board="whl-ipc-i5" scenario="sdc">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/sda3</rootfs>
|
<rootfs>/dev/sda3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||||
i915.nuclear_pageflip=1
|
i915.nuclear_pageflip=1
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -111,40 +105,40 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="sdc" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="sdc" user_vm_launcher="1">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">2048</mem_size>
|
<mem_size desc="User VM memory size in MByte">2048</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">LaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">LaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">/home/clear/uos/uos.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">/home/clear/uos/uos.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="sdc" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="sdc" user_vm_launcher="1">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">ZEPHYR</user_vm_type>
|
<user_vm_type desc="User VM type">ZEPHYR</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">128</mem_size>
|
<mem_size desc="User VM memory size in MByte">128</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./zephyr.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./zephyr.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@pty:pty_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@pty:pty_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,108 +1,102 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
<acrn-config board="whl-ipc-i5" scenario="shared">
|
<acrn-config board="whl-ipc-i5" scenario="shared">
|
||||||
<hv>
|
<hv>
|
||||||
<DEBUG_OPTIONS>
|
<DEBUG_OPTIONS>
|
||||||
<RELEASE>n</RELEASE>
|
<RELEASE>n</RELEASE>
|
||||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||||
<LOG_DESTINATION>7</LOG_DESTINATION>
|
<LOG_DESTINATION>7</LOG_DESTINATION>
|
||||||
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
<LOG_BUF_SIZE>0x40000</LOG_BUF_SIZE>
|
||||||
</DEBUG_OPTIONS>
|
</DEBUG_OPTIONS>
|
||||||
|
|
||||||
<FEATURES>
|
<FEATURES>
|
||||||
<RELOC>y</RELOC>
|
<RELOC>y</RELOC>
|
||||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||||
<MULTIBOOT2>y</MULTIBOOT2>
|
<MULTIBOOT2>y</MULTIBOOT2>
|
||||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||||
<RDT>
|
<RDT>
|
||||||
<RDT_ENABLED>n</RDT_ENABLED>
|
<RDT_ENABLED>n</RDT_ENABLED>
|
||||||
<CDP_ENABLED>n</CDP_ENABLED>
|
<CDP_ENABLED>n</CDP_ENABLED>
|
||||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||||
</RDT>
|
</RDT>
|
||||||
<NVMX_ENABLED>n</NVMX_ENABLED>
|
<NVMX_ENABLED>n</NVMX_ENABLED>
|
||||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||||
<IVSHMEM>
|
<IVSHMEM>
|
||||||
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
<IVSHMEM_ENABLED>n</IVSHMEM_ENABLED>
|
||||||
<IVSHMEM_REGION/>
|
<IVSHMEM_REGION/>
|
||||||
</IVSHMEM>
|
</IVSHMEM>
|
||||||
</FEATURES>
|
</FEATURES>
|
||||||
|
|
||||||
<MEMORY>
|
<MEMORY>
|
||||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||||
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
<LOW_RAM_SIZE>0x00010000</LOW_RAM_SIZE>
|
||||||
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
<PLATFORM_RAM_SIZE>0x400000000</PLATFORM_RAM_SIZE>
|
||||||
</MEMORY>
|
</MEMORY>
|
||||||
|
|
||||||
<CAPACITIES>
|
<CAPACITIES>
|
||||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||||
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
<MAX_IR_ENTRIES>256</MAX_IR_ENTRIES>
|
||||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||||
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
<MAX_PT_IRQ_ENTRIES>64</MAX_PT_IRQ_ENTRIES>
|
||||||
<MAX_MSIX_TABLE_NUM></MAX_MSIX_TABLE_NUM>
|
<MAX_MSIX_TABLE_NUM/>
|
||||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||||
</CAPACITIES>
|
</CAPACITIES>
|
||||||
|
|
||||||
<MISC_CFG>
|
<MISC_CFG>
|
||||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||||
</MISC_CFG>
|
</MISC_CFG>
|
||||||
</hv>
|
</hv>
|
||||||
|
|
||||||
<vm id="0">
|
<vm id="0">
|
||||||
<vm_type>SERVICE_VM</vm_type>
|
<vm_type>SERVICE_VM</vm_type>
|
||||||
<name>ACRN_Service_VM</name>
|
<name>ACRN_Service_VM</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa>0</start_hpa>
|
<start_hpa>0</start_hpa>
|
||||||
<size>0x20000000</size>
|
<size>0x20000000</size>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name>ACRN Service OS</name>
|
<name>ACRN Service OS</name>
|
||||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||||
<kern_mod>Linux_bzImage</kern_mod>
|
<kern_mod>Linux_bzImage</kern_mod>
|
||||||
<ramdisk_mod/>
|
<ramdisk_mod/>
|
||||||
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
<bootargs>SERVICE_VM_OS_BOOTARGS</bootargs>
|
||||||
</os_config>
|
</os_config>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM1_BASE</base>
|
<base>SERVICE_VM_COM1_BASE</base>
|
||||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>SERVICE_VM_COM2_BASE</base>
|
<base>SERVICE_VM_COM2_BASE</base>
|
||||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||||
<target_vm_id>2</target_vm_id>
|
<target_vm_id>2</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<pci_devs>
|
<pci_devs>
|
||||||
<pci_dev/>
|
<pci_dev/>
|
||||||
</pci_devs>
|
</pci_devs>
|
||||||
<board_private>
|
<board_private>
|
||||||
<rootfs>/dev/sda3</rootfs>
|
<rootfs>/dev/sda3</rootfs>
|
||||||
<bootargs>
|
<bootargs>
|
||||||
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
rw rootwait console=tty0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||||
i915.nuclear_pageflip=1
|
i915.nuclear_pageflip=1
|
||||||
</bootargs>
|
</bootargs>
|
||||||
@@ -112,78 +106,78 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM1</name>
|
<name>POST_STD_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
</vm>
|
</vm>
|
||||||
<vm id="2">
|
<vm id="2">
|
||||||
<vm_type>POST_RT_VM</vm_type>
|
<vm_type>POST_RT_VM</vm_type>
|
||||||
<name>POST_RT_VM1</name>
|
<name>POST_RT_VM1</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>2</pcpu_id>
|
<pcpu_id>2</pcpu_id>
|
||||||
<pcpu_id>3</pcpu_id>
|
<pcpu_id>3</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM2_BASE</base>
|
<base>COM2_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -191,39 +185,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM2</name>
|
<name>POST_STD_VM2</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -231,39 +225,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM3</name>
|
<name>POST_STD_VM3</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -271,39 +265,39 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM4</name>
|
<name>POST_STD_VM4</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
@@ -311,40 +305,40 @@
|
|||||||
<vm_type>POST_STD_VM</vm_type>
|
<vm_type>POST_STD_VM</vm_type>
|
||||||
<name>POST_STD_VM5</name>
|
<name>POST_STD_VM5</name>
|
||||||
<guest_flags>
|
<guest_flags>
|
||||||
<guest_flag>0</guest_flag>
|
<guest_flag>0</guest_flag>
|
||||||
</guest_flags>
|
</guest_flags>
|
||||||
<cpu_affinity>
|
<cpu_affinity>
|
||||||
<pcpu_id>0</pcpu_id>
|
<pcpu_id>0</pcpu_id>
|
||||||
<pcpu_id>1</pcpu_id>
|
<pcpu_id>1</pcpu_id>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<clos>
|
<clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section>
|
<epc_section>
|
||||||
<base>0</base>
|
<base>0</base>
|
||||||
<size>0</size>
|
<size>0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<legacy_vuart id="0">
|
<legacy_vuart id="0">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>COM1_BASE</base>
|
<base>COM1_BASE</base>
|
||||||
<irq>COM1_IRQ</irq>
|
<irq>COM1_IRQ</irq>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<legacy_vuart id="1">
|
<legacy_vuart id="1">
|
||||||
<type>VUART_LEGACY_PIO</type>
|
<type>VUART_LEGACY_PIO</type>
|
||||||
<base>INVALID_COM_BASE</base>
|
<base>INVALID_COM_BASE</base>
|
||||||
<irq>COM2_IRQ</irq>
|
<irq>COM2_IRQ</irq>
|
||||||
<target_vm_id>0</target_vm_id>
|
<target_vm_id>0</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</legacy_vuart>
|
</legacy_vuart>
|
||||||
<console_vuart id="0">
|
<console_vuart id="0">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
</console_vuart>
|
</console_vuart>
|
||||||
<communication_vuart id="1">
|
<communication_vuart id="1">
|
||||||
<base>INVALID_PCI_BASE</base>
|
<base>INVALID_PCI_BASE</base>
|
||||||
<target_vm_id>1</target_vm_id>
|
<target_vm_id>1</target_vm_id>
|
||||||
<target_uart_id>1</target_uart_id>
|
<target_uart_id>1</target_uart_id>
|
||||||
</communication_vuart>
|
</communication_vuart>
|
||||||
<PTM>n</PTM>
|
<PTM>n</PTM>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">VXWORKS</user_vm_type>
|
<user_vm_type desc="User VM type">VXWORKS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">2048</mem_size>
|
<mem_size desc="User VM memory size in MByte">2048</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./VxWorks.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./VxWorks.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,48 +1,48 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="1">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,94 +1,94 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="2">
|
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="2">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
@@ -1,278 +1,278 @@
|
|||||||
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="6">
|
<acrn-config board="whl-ipc-i5" scenario="shared" user_vm_launcher="6">
|
||||||
<user_vm id="1">
|
<user_vm id="1">
|
||||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
<audio desc="vm audio device">00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 30)</audio>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
<gpu desc="vm gpu device">00:02.0 VGA compatible controller: Intel Corporation Device 3ea0 (rev 02)</gpu>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">WaaG</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./win10-ltsc.img</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="2">
|
<user_vm id="2">
|
||||||
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX].">RT</network>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img">./core-image-weston-intel-corei7-64.wic</block>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]">@stdio:stdio_port</console>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="3">
|
<user_vm id="3">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"></block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="4">
|
<user_vm id="4">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"></block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="5">
|
<user_vm id="5">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"></block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
<user_vm id="6">
|
<user_vm id="6">
|
||||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||||
<poweroff_channel desc="the method of power off User VM"></poweroff_channel>
|
<poweroff_channel desc="the method of power off User VM"/>
|
||||||
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
<allow_trigger_s5 desc="allow this vm to trigger s5 shutdown flow, this flag works with poweroff_channel 'vuart1(pty)' and 'vuart1(tty)' only.">n</allow_trigger_s5>
|
||||||
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
<enable_ptm desc="enable ptm of User VM">n</enable_ptm>
|
||||||
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
|
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"/>
|
||||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||||
<pcpu_id></pcpu_id>
|
<pcpu_id/>
|
||||||
</cpu_affinity>
|
</cpu_affinity>
|
||||||
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
<shm_regions desc="List of shared memory regions for inter-VM communication.">
|
||||||
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"></shm_region>
|
<shm_region desc="configure the shm regions for current VM, for example hv:/sharename,2"/>
|
||||||
</shm_regions>
|
</shm_regions>
|
||||||
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
<console_vuart desc="A PCI based console vuart which is emulated by device model">Disable</console_vuart>
|
||||||
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
<communication_vuarts desc="List of PCI based communication vuarts which are emulated by device model">
|
||||||
<communication_vuart></communication_vuart>
|
<communication_vuart/>
|
||||||
</communication_vuarts>
|
</communication_vuarts>
|
||||||
<passthrough_devices>
|
<passthrough_devices>
|
||||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
<usb_xdci desc="vm usb_xdci device"/>
|
||||||
<audio desc="vm audio device"></audio>
|
<audio desc="vm audio device"/>
|
||||||
<audio_codec desc="vm audio codec device"></audio_codec>
|
<audio_codec desc="vm audio codec device"/>
|
||||||
<gpu desc="vm gpu device"></gpu>
|
<gpu desc="vm gpu device"/>
|
||||||
<ipu desc="vm ipu device"></ipu>
|
<ipu desc="vm ipu device"/>
|
||||||
<ipu_i2c desc="vm ipu_i2c device"></ipu_i2c>
|
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||||
<cse desc="vm cse device"></cse>
|
<cse desc="vm cse device"/>
|
||||||
<wifi desc="vm wifi device"></wifi>
|
<wifi desc="vm wifi device"/>
|
||||||
<bluetooth desc="vm bluetooth"></bluetooth>
|
<bluetooth desc="vm bluetooth"/>
|
||||||
<sd_card desc="vm sd card device"></sd_card>
|
<sd_card desc="vm sd card device"/>
|
||||||
<ethernet desc="vm ethernet device"></ethernet>
|
<ethernet desc="vm ethernet device"/>
|
||||||
<sata desc="vm sata device"></sata>
|
<sata desc="vm sata device"/>
|
||||||
<nvme desc="vm nvme device"></nvme>
|
<nvme desc="vm nvme device"/>
|
||||||
</passthrough_devices>
|
</passthrough_devices>
|
||||||
<virtio_devices>
|
<virtio_devices>
|
||||||
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"></console>
|
<console desc="virtio console device,input format: [@]stdio|tty|pty|sock:portname[=portpath][,[@]stdio|tty|pty:portname[=portpath]]"/>
|
||||||
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."></network>
|
<network desc="virtio network devices setting. Input format: tap_name,[vhost],[mac=XX:XX:XX:XX:XX:XX]."/>
|
||||||
<input desc="virtio input device"></input>
|
<input desc="virtio input device"/>
|
||||||
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"></block>
|
<block desc="virtio block device setting. format: [blk partition:][img path] e.g.: /dev/sda3:./a/b.img"/>
|
||||||
</virtio_devices>
|
</virtio_devices>
|
||||||
<sriov>
|
<sriov>
|
||||||
<gpu></gpu>
|
<gpu/>
|
||||||
<network></network>
|
<network/>
|
||||||
</sriov>
|
</sriov>
|
||||||
</user_vm>
|
</user_vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
Reference in New Issue
Block a user