mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
config_tools: merge data in launch XMLs into scenario XMLs
Splitting the definitions of a post-launched VM into two files, namely the scenario XML and launch XML, introduces duplicated field in both files and leads to a high probability of having inconsistencies between them (see issue #7156 as an example). Further more, this split has also adds much complexity to the configurator which has to either hide some of the items from user interfaces or synchronize different fields upon changes. The advantage of the split, however, is not widely adopted. Having a separate XML capturing the VM definition tweakable in the service VM at runtime seems to give users more flexibility to redefine a VM without recompiling the hypervisor. But that is not a common practice in the industry segment; instead it is preferred to have a static scenario definition to make sure that all resources are allocated carefully in a fixed manner in order for better determinism. As a result, this patch merges the fields in launch XMLs into the schema of scenario XMLs. Some fields are post-launched VM specific and thus added, while the others have similar items in scenario XMLs today. The launch script generator is also updated accordingly to generate launch scripts from the new scenario XMLs (which now contain the same amount of information as previous launch XMLs). Tracked-On: #6690 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -1,156 +0,0 @@
|
||||
<acrn-config board="nuc11tnbi5" scenario="hybrid">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS>
|
||||
<BUILD_TYPE>debug</BUILD_TYPE>
|
||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||
</DEBUG_OPTIONS>
|
||||
<FEATURES>
|
||||
<RELOC>y</RELOC>
|
||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2>y</MULTIBOOT2>
|
||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||
<RDT>
|
||||
<RDT_ENABLED>n</RDT_ENABLED>
|
||||
<CDP_ENABLED>n</CDP_ENABLED>
|
||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
</RDT>
|
||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||
<IVSHMEM/>
|
||||
</FEATURES>
|
||||
<MEMORY>
|
||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
<MAX_VM_NUM>16</MAX_VM_NUM>
|
||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM/>
|
||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||
</MISC_CFG>
|
||||
<vuart_connections>
|
||||
<vuart_connection>
|
||||
<name>vUART connection 1</name>
|
||||
<type>legacy</type>
|
||||
<endpoint>
|
||||
<vm_name>SAFETY_VM0</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
</vuart_connections>
|
||||
</hv>
|
||||
<vm id="0">
|
||||
<load_order>PRE_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>SAFETY_VM0</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>3</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<epc_section>
|
||||
<base>0</base>
|
||||
<size>0</size>
|
||||
</epc_section>
|
||||
<memory>
|
||||
<start_hpa>0x100000000</start_hpa>
|
||||
<size>0x20000000</size>
|
||||
<start_hpa2>0x0</start_hpa2>
|
||||
<size_hpa2>0x0</size_hpa2>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_ELF</kern_type>
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs/>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<mmio_resources>
|
||||
<TPM2>n</TPM2>
|
||||
<p2sb>n</p2sb>
|
||||
</mmio_resources>
|
||||
<pt_intx> </pt_intx>
|
||||
<pci_devs>
|
||||
<pci_dev/>
|
||||
</pci_devs>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<load_order>SERVICE_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>ACRN_Service_VM</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod>Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>root=/dev/nvme0n1p3 rw rootwait console=tty0 console=ttyS0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1 swiotlb=131072</bootargs>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
</vm>
|
||||
<vm id="2">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM1</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="3">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM2</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
</acrn-config>
|
1
misc/config_tools/data/nuc11tnbi5/hybrid.xml
Symbolic link
1
misc/config_tools/data/nuc11tnbi5/hybrid.xml
Symbolic link
@@ -0,0 +1 @@
|
||||
hybrid_launch_2user_vm.xml
|
@@ -1,92 +1,183 @@
|
||||
<acrn-config board="nuc11tnbi5" scenario="hybrid" user_vm_launcher="2">
|
||||
<user_vm id="1">
|
||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||
<vm_name>POST_STD_VM1</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
<acrn-config board="nuc11tnbi5" scenario="hybrid">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS>
|
||||
<BUILD_TYPE>debug</BUILD_TYPE>
|
||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||
</DEBUG_OPTIONS>
|
||||
<FEATURES>
|
||||
<RELOC>y</RELOC>
|
||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2>y</MULTIBOOT2>
|
||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||
<RDT>
|
||||
<RDT_ENABLED>n</RDT_ENABLED>
|
||||
<CDP_ENABLED>n</CDP_ENABLED>
|
||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
</RDT>
|
||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||
<IVSHMEM/>
|
||||
</FEATURES>
|
||||
<MEMORY>
|
||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
<MAX_VM_NUM>16</MAX_VM_NUM>
|
||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM/>
|
||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||
</MISC_CFG>
|
||||
<vuart_connections>
|
||||
<vuart_connection>
|
||||
<name>vUART connection 1</name>
|
||||
<type>legacy</type>
|
||||
<endpoint>
|
||||
<vm_name>SAFETY_VM0</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
</vuart_connections>
|
||||
</hv>
|
||||
<vm id="0">
|
||||
<load_order>PRE_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>SAFETY_VM0</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>3</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<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>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<virtio_devices>
|
||||
<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"/>
|
||||
<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]]"/>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="2">
|
||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||
<vm_name>POST_STD_VM2</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<epc_section>
|
||||
<base>0</base>
|
||||
<size>0</size>
|
||||
</epc_section>
|
||||
<memory>
|
||||
<start_hpa>0x100000000</start_hpa>
|
||||
<size>0x20000000</size>
|
||||
<start_hpa2>0x0</start_hpa2>
|
||||
<size_hpa2>0x0</size_hpa2>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_ELF</kern_type>
|
||||
<kern_mod>Zephyr_ElfImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs/>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<mmio_resources>
|
||||
<TPM2>n</TPM2>
|
||||
<p2sb>n</p2sb>
|
||||
</mmio_resources>
|
||||
<pt_intx> </pt_intx>
|
||||
<pci_devs/>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<load_order>SERVICE_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>ACRN_Service_VM</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod>Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>root=/dev/nvme0n1p3 rw rootwait console=tty0 console=ttyS0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1 swiotlb=131072</bootargs>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
</vm>
|
||||
<vm id="2">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM1</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>4096</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<pci_devs>
|
||||
<pci_dev>00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</pci_dev>
|
||||
</pci_devs>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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>
|
||||
<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>
|
||||
<console/>
|
||||
<network>WaaG</network>
|
||||
<input/>
|
||||
<block>./win10-ltsc.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
</vm>
|
||||
<vm id="3">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM2</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>512</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<console>@stdio:stdio_port</console>
|
||||
<network>YaaG</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
</virtio_devices>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@@ -101,7 +101,6 @@
|
||||
<pci_devs>
|
||||
<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/>
|
||||
</pci_devs>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
@@ -140,7 +139,6 @@
|
||||
</mmio_resources>
|
||||
<pci_devs>
|
||||
<pci_dev>00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)</pci_dev>
|
||||
<pci_dev/>
|
||||
</pci_devs>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@@ -1,191 +0,0 @@
|
||||
<acrn-config board="nuc11tnbi5" scenario="shared">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS>
|
||||
<BUILD_TYPE>debug</BUILD_TYPE>
|
||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||
</DEBUG_OPTIONS>
|
||||
<FEATURES>
|
||||
<RELOC>y</RELOC>
|
||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2>y</MULTIBOOT2>
|
||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||
<RDT>
|
||||
<RDT_ENABLED>n</RDT_ENABLED>
|
||||
<CDP_ENABLED>y</CDP_ENABLED>
|
||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
</RDT>
|
||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||
<IVSHMEM/>
|
||||
</FEATURES>
|
||||
<MEMORY>
|
||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
<MAX_VM_NUM>16</MAX_VM_NUM>
|
||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM/>
|
||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||
</MISC_CFG>
|
||||
<vuart_connections>
|
||||
<vuart_connection>
|
||||
<name>Connection_1</name>
|
||||
<type>legacy</type>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<io_port>0x3F</io_port>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>POST_STD_VM1</vm_name>
|
||||
<io_port>0x3F</io_port>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
<vuart_connection>
|
||||
<name>Connection_2</name>
|
||||
<type>pci</type>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<vbdf>00:10.0</vbdf>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>POST_RT_VM1</vm_name>
|
||||
<vbdf>00:10.0</vbdf>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
</vuart_connections>
|
||||
</hv>
|
||||
<vm id="0">
|
||||
<load_order>SERVICE_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>ACRN_Service_VM</name>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>0x20000000</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod>Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>rw rootwait root=/dev/nvme0n1p3 console=tty0 console=ttyS0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1 swiotlb=131072</bootargs>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM1</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="2">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>RTVM</vm_type>
|
||||
<name>POST_RT_VM1</name>
|
||||
<lapic_passthrough>y</lapic_passthrough>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
<pcpu_id>3</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="3">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM2</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="4">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM3</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="5">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM4</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
<vm id="6">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM5</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
</acrn-config>
|
1
misc/config_tools/data/nuc11tnbi5/shared.xml
Symbolic link
1
misc/config_tools/data/nuc11tnbi5/shared.xml
Symbolic link
@@ -0,0 +1 @@
|
||||
shared_launch_6user_vm.xml
|
@@ -1,272 +1,272 @@
|
||||
<acrn-config board="nuc11tnbi5" scenario="shared" user_vm_launcher="6">
|
||||
<user_vm id="1">
|
||||
<user_vm_type desc="User VM type">WINDOWS</user_vm_type>
|
||||
<vm_name>POST_STD_VM1</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">4096</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
<acrn-config board="nuc11tnbi5" scenario="shared">
|
||||
<hv>
|
||||
<DEBUG_OPTIONS>
|
||||
<BUILD_TYPE>debug</BUILD_TYPE>
|
||||
<SERIAL_CONSOLE>/dev/ttyS0</SERIAL_CONSOLE>
|
||||
<MEM_LOGLEVEL>5</MEM_LOGLEVEL>
|
||||
<NPK_LOGLEVEL>5</NPK_LOGLEVEL>
|
||||
<CONSOLE_LOGLEVEL>3</CONSOLE_LOGLEVEL>
|
||||
</DEBUG_OPTIONS>
|
||||
<FEATURES>
|
||||
<RELOC>y</RELOC>
|
||||
<SCHEDULER>SCHED_BVT</SCHEDULER>
|
||||
<MULTIBOOT2>y</MULTIBOOT2>
|
||||
<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>
|
||||
<ENFORCE_TURNOFF_GP>n</ENFORCE_TURNOFF_GP>
|
||||
<SECURITY_VM_FIXUP>n</SECURITY_VM_FIXUP>
|
||||
<RDT>
|
||||
<RDT_ENABLED>n</RDT_ENABLED>
|
||||
<CDP_ENABLED>y</CDP_ENABLED>
|
||||
<VCAT_ENABLED>n</VCAT_ENABLED>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
<CLOS_MASK>0xfffff</CLOS_MASK>
|
||||
</RDT>
|
||||
<HYPERV_ENABLED>y</HYPERV_ENABLED>
|
||||
<IOMMU_ENFORCE_SNP>n</IOMMU_ENFORCE_SNP>
|
||||
<ACPI_PARSE_ENABLED>y</ACPI_PARSE_ENABLED>
|
||||
<L1D_VMENTRY_ENABLED>n</L1D_VMENTRY_ENABLED>
|
||||
<MCE_ON_PSC_DISABLED>n</MCE_ON_PSC_DISABLED>
|
||||
<IVSHMEM/>
|
||||
</FEATURES>
|
||||
<MEMORY>
|
||||
<STACK_SIZE>0x2000</STACK_SIZE>
|
||||
</MEMORY>
|
||||
<CAPACITIES>
|
||||
<MAX_VM_NUM>16</MAX_VM_NUM>
|
||||
<IOMMU_BUS_NUM>0x100</IOMMU_BUS_NUM>
|
||||
<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>
|
||||
<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>
|
||||
<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>
|
||||
<MAX_PT_IRQ_ENTRIES>256</MAX_PT_IRQ_ENTRIES>
|
||||
<MAX_MSIX_TABLE_NUM/>
|
||||
<MAX_EMULATED_MMIO>16</MAX_EMULATED_MMIO>
|
||||
</CAPACITIES>
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||
</MISC_CFG>
|
||||
<vuart_connections>
|
||||
<vuart_connection>
|
||||
<name>Connection_1</name>
|
||||
<type>legacy</type>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<io_port>0x3F</io_port>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>POST_STD_VM1</vm_name>
|
||||
<io_port>0x3F</io_port>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
<vuart_connection>
|
||||
<name>Connection_2</name>
|
||||
<type>pci</type>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<vbdf>00:10.0</vbdf>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>POST_RT_VM1</vm_name>
|
||||
<vbdf>00:10.0</vbdf>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
</vuart_connections>
|
||||
</hv>
|
||||
<vm id="0">
|
||||
<load_order>SERVICE_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>ACRN_Service_VM</name>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<start_hpa>0</start_hpa>
|
||||
<size>0x20000000</size>
|
||||
</memory>
|
||||
<os_config>
|
||||
<kern_type>KERNEL_BZIMAGE</kern_type>
|
||||
<kern_mod>Linux_bzImage</kern_mod>
|
||||
<ramdisk_mod/>
|
||||
<bootargs>rw rootwait root=/dev/nvme0n1p3 console=tty0 console=ttyS0 consoleblank=0 no_timer_check quiet loglevel=3
|
||||
i915.nuclear_pageflip=1 swiotlb=131072</bootargs>
|
||||
</os_config>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM1</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<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>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>4096</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<pci_devs>
|
||||
<pci_dev>00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)</pci_dev>
|
||||
</pci_devs>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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"/>
|
||||
<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/>
|
||||
<network>WaaG</network>
|
||||
<input/>
|
||||
<block>./win10-ltsc.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="2">
|
||||
<user_vm_type desc="User VM type">PREEMPT-RT LINUX</user_vm_type>
|
||||
<vm_name>POST_RT_VM1</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">Hard RT</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">1024</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
</vm>
|
||||
<vm id="2">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>RTVM</vm_type>
|
||||
<name>POST_RT_VM1</name>
|
||||
<lapic_passthrough>y</lapic_passthrough>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>2</pcpu_id>
|
||||
<pcpu_id>3</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>1024</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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"/>
|
||||
<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>@stdio:stdio_port</console>
|
||||
<network>RT</network>
|
||||
<input/>
|
||||
<block>./core-image-weston-intel-corei7-64.wic</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="3">
|
||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||
<vm_name>POST_STD_VM2</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
</vm>
|
||||
<vm id="3">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM2</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>512</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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>
|
||||
<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>
|
||||
<console>@stdio:stdio_port</console>
|
||||
<network>YaaG3</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="4">
|
||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||
<vm_name>POST_STD_VM3</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
</vm>
|
||||
<vm id="4">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM3</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>512</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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>
|
||||
<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>
|
||||
<console>@stdio:stdio_port</console>
|
||||
<network>YaaG4</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="5">
|
||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||
<vm_name>POST_STD_VM4</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
</vm>
|
||||
<vm id="5">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM4</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>512</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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>
|
||||
<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>
|
||||
<console>@stdio:stdio_port</console>
|
||||
<network>YaaG5</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
<user_vm id="6">
|
||||
<user_vm_type desc="User VM type">YOCTO</user_vm_type>
|
||||
<vm_name>POST_STD_VM5</vm_name>
|
||||
<rtos_type desc="User VM Realtime capability">no</rtos_type>
|
||||
<mem_size desc="User VM memory size in MByte">512</mem_size>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<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"/>
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id/>
|
||||
</vm>
|
||||
<vm id="6">
|
||||
<load_order>POST_LAUNCHED_VM</load_order>
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
<name>POST_STD_VM5</name>
|
||||
<cpu_affinity>
|
||||
<pcpu_id>0</pcpu_id>
|
||||
<pcpu_id>1</pcpu_id>
|
||||
</cpu_affinity>
|
||||
<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_regions>
|
||||
<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_vuart/>
|
||||
</communication_vuarts>
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"/>
|
||||
<audio desc="vm audio device"/>
|
||||
<audio_codec desc="vm audio codec device"/>
|
||||
<gpu desc="vm gpu device"/>
|
||||
<ipu desc="vm ipu device"/>
|
||||
<ipu_i2c desc="vm ipu_i2c device"/>
|
||||
<cse desc="vm cse device"/>
|
||||
<wifi desc="vm wifi device"/>
|
||||
<bluetooth desc="vm bluetooth"/>
|
||||
<sd_card desc="vm sd card device"/>
|
||||
<ethernet desc="vm ethernet device"/>
|
||||
<sata desc="vm sata device"/>
|
||||
<nvme desc="vm nvme device"/>
|
||||
</passthrough_devices>
|
||||
<clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<memory>
|
||||
<whole>512</whole>
|
||||
</memory>
|
||||
<console_vuart>COM Port 1</console_vuart>
|
||||
<PTM>n</PTM>
|
||||
<os_type>Non-Windows OS</os_type>
|
||||
<vbootloader>Enable</vbootloader>
|
||||
<vuart0>Disable</vuart0>
|
||||
<usb_xhci/>
|
||||
<virtio_devices>
|
||||
<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>
|
||||
<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>
|
||||
<console>@stdio:stdio_port</console>
|
||||
<network>YaaG6</network>
|
||||
<input/>
|
||||
<block>./YaaG.img</block>
|
||||
</virtio_devices>
|
||||
<sriov>
|
||||
<gpu/>
|
||||
<network/>
|
||||
</sriov>
|
||||
</user_vm>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
Reference in New Issue
Block a user