mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
misc: modify vuart config for xmls
We have redesign the vuart and the UI for user, so the config tool should change the schema and xform for the new xml, then change the static_allocators to alloc irq for new connection. This patch modify the xmls for vuart new design. Tracked-On: #6690 Reviewed-by: Junjie Mao <junjie.mao@intel.com> Signed-off-by: Chenli Wei <chenli.wei@linux.intel.com>
This commit is contained in:
@@ -44,6 +44,20 @@
|
||||
<MISC_CFG>
|
||||
<GPU_SBDF>0x00000010</GPU_SBDF>
|
||||
</MISC_CFG>
|
||||
<vuart_connections>
|
||||
<vuart_connection>
|
||||
<name>vUART connection 1</name>
|
||||
<type>legacy</type>
|
||||
<endpoint>
|
||||
<vm_name>ACRN_Service_VM</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
<endpoint>
|
||||
<vm_name>POST_STD_VM1</vm_name>
|
||||
<io_port>0x2F8</io_port>
|
||||
</endpoint>
|
||||
</vuart_connection>
|
||||
</vuart_connections>
|
||||
</hv>
|
||||
<vm id="0">
|
||||
<vm_type>STANDARD_VM</vm_type>
|
||||
@@ -68,21 +82,9 @@
|
||||
<base>SERVICE_VM_COM1_BASE</base>
|
||||
<irq>SERVICE_VM_COM1_IRQ</irq>
|
||||
</legacy_vuart>
|
||||
<legacy_vuart id="1">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
<base>INVALID_COM_BASE</base>
|
||||
<irq>SERVICE_VM_COM2_IRQ</irq>
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</legacy_vuart>
|
||||
<console_vuart id="0">
|
||||
<base>INVALID_PCI_BASE</base>
|
||||
</console_vuart>
|
||||
<communication_vuart id="1">
|
||||
<base>INVALID_PCI_BASE</base>
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</communication_vuart>
|
||||
<pci_devs>
|
||||
<pci_dev/>
|
||||
</pci_devs>
|
||||
@@ -106,20 +108,8 @@
|
||||
<base>INVALID_COM_BASE</base>
|
||||
<irq>COM1_IRQ</irq>
|
||||
</legacy_vuart>
|
||||
<legacy_vuart id="1">
|
||||
<type>VUART_LEGACY_PIO</type>
|
||||
<base>INVALID_COM_BASE</base>
|
||||
<irq>COM2_IRQ</irq>
|
||||
<target_vm_id>0</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</legacy_vuart>
|
||||
<console_vuart id="0">
|
||||
<base>INVALID_PCI_BASE</base>
|
||||
</console_vuart>
|
||||
<communication_vuart id="1">
|
||||
<base>INVALID_PCI_BASE</base>
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</communication_vuart>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
Reference in New Issue
Block a user