mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-06 06:02:20 +00:00
acrn-config: refine template xmls
Refine some items for configuarable="0" Tracked-On: #4641 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com> Acked-by: Terry Zou <terry.zou@intel.com>
This commit is contained in:
parent
71b3743a75
commit
374cd99ed9
@ -8,20 +8,20 @@
|
|||||||
<pcpu_id></pcpu_id>
|
<pcpu_id></pcpu_id>
|
||||||
</vcpu_affinity>
|
</vcpu_affinity>
|
||||||
<epc_section configurable="0" desc="epc section">
|
<epc_section configurable="0" desc="epc section">
|
||||||
<base desc="SGX EPC section base, must be page aligned"></base>
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||||
<size desc="SGX EPC section size in Bytes, must be page aligned"></size>
|
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<vuart id="0">
|
<vuart id="0">
|
||||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||||
<base configurable="0" desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base configurable="0" desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM1 irq">COM1_BASE</irq>
|
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
||||||
</vuart>
|
</vuart>
|
||||||
<vuart id="1">
|
<vuart id="1">
|
||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base configurable="0" desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">COM2_BASE</irq>
|
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">0</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
</vm>
|
</vm>
|
||||||
</acrn-config>
|
</acrn-config>
|
||||||
|
@ -11,19 +11,19 @@
|
|||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section configurable="0" desc="epc section">
|
<epc_section configurable="0" desc="epc section">
|
||||||
<base desc="SGX EPC section base, must be page aligned"></base>
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||||
<size desc="SGX EPC section size in Bytes, must be page aligned"></size>
|
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<vuart id="0">
|
<vuart id="0">
|
||||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
|
||||||
</vuart>
|
</vuart>
|
||||||
<vuart id="1">
|
<vuart id="1">
|
||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
</vm>
|
</vm>
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section configurable="0" desc="epc section">
|
<epc_section configurable="0" desc="epc section">
|
||||||
<base desc="SGX EPC section base, must be page aligned"></base>
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||||
<size desc="SGX EPC section size in Bytes, must be page aligned"></size>
|
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<vuart id="0">
|
<vuart id="0">
|
||||||
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
|
||||||
@ -23,7 +23,7 @@
|
|||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
</vm>
|
</vm>
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section configurable="0" desc="epc section">
|
<epc_section configurable="0" desc="epc section">
|
||||||
<base desc="SGX EPC section base, must be page aligned"></base>
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||||
<size desc="SGX EPC section size in Bytes, must be page aligned"></size>
|
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa desc="The start physical address in host for the VM"></start_hpa>
|
<start_hpa desc="The start physical address in host for the VM"></start_hpa>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
<pci_devs desc="pci devices list">
|
<pci_devs desc="pci devices list">
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
<vcpu_clos>0</vcpu_clos>
|
<vcpu_clos>0</vcpu_clos>
|
||||||
</clos>
|
</clos>
|
||||||
<epc_section configurable="0" desc="epc section">
|
<epc_section configurable="0" desc="epc section">
|
||||||
<base desc="SGX EPC section base, must be page aligned"></base>
|
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||||
<size desc="SGX EPC section size in Bytes, must be page aligned"></size>
|
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||||
</epc_section>
|
</epc_section>
|
||||||
<memory>
|
<memory>
|
||||||
<start_hpa desc="The start physical address in host for the VM"></start_hpa>
|
<start_hpa desc="The start physical address in host for the VM"></start_hpa>
|
||||||
@ -39,7 +39,7 @@
|
|||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
<pci_devs configurable="0" desc="pci devices list">
|
<pci_devs configurable="0" desc="pci devices list">
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
<size configurable="0" desc="The memory size in Bytes for the VM">0x20000000</size>
|
<size configurable="0" desc="The memory size in Bytes for the VM">0x20000000</size>
|
||||||
</memory>
|
</memory>
|
||||||
<os_config>
|
<os_config>
|
||||||
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code.">ACRN Service OS</name>
|
<name desc="Specify the OS name of VM, currently it is not referenced by hypervisor code."></name>
|
||||||
<kern_type desc="Specify the VM name which will be shown in hypervisor console command: vm_list."></kern_type>
|
<kern_type desc="Specify the VM name which will be shown in hypervisor console command: vm_list."></kern_type>
|
||||||
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></kern_mod>
|
<kern_mod desc="The tag for kernel image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></kern_mod>
|
||||||
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
<ramdisk_mod desc="The tag for ramdisk image which act as multiboot module, it must exactly match the module tag in GRUB multiboot cmdline."></ramdisk_mod>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
|
||||||
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
|
||||||
<irq configurable="0" desc="vCOM2 irq">SOS_COM2_IRQ</irq>
|
<irq configurable="0" desc="vCOM2 irq">SOS_COM2_IRQ</irq>
|
||||||
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to."></target_vm_id>
|
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">2</target_vm_id>
|
||||||
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
|
||||||
</vuart>
|
</vuart>
|
||||||
<pci_devs configurable="0" desc="pci devices list">
|
<pci_devs configurable="0" desc="pci devices list">
|
||||||
|
Loading…
Reference in New Issue
Block a user