config-tools: add <enable_ptm> and <PTM>

Add <enable_ptm> which configures ptm feature dm argument.
Add <PTM>n</PTM> to post-launched vms.

Tracked-On: #6054
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
Yang,Yu-chu
2021-05-21 14:23:42 -07:00
committed by wenlingz
parent 346490a7dc
commit 0c55743f50
87 changed files with 188 additions and 3 deletions

View File

@@ -221,5 +221,6 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>

View File

@@ -221,6 +221,7 @@
<target_vm_id>0</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="3">
<vm_type>POST_STD_VM</vm_type>
@@ -257,5 +258,6 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>

View File

@@ -156,6 +156,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="2">
<vm_type>POST_RT_VM</vm_type>
@@ -194,6 +195,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="3">
<vm_type>POST_STD_VM</vm_type>
@@ -232,6 +234,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="4">
<vm_type>POST_STD_VM</vm_type>
@@ -270,6 +273,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="5">
<vm_type>POST_STD_VM</vm_type>
@@ -308,6 +312,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="6">
<vm_type>POST_STD_VM</vm_type>
@@ -346,6 +351,7 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
<vm id="7">
<vm_type>KATA_VM</vm_type>
@@ -381,5 +387,6 @@
<target_vm_id>1</target_vm_id>
<target_uart_id>1</target_uart_id>
</communication_vuart>
<PTM>n</PTM>
</vm>
</acrn-config>

View File

@@ -7,6 +7,7 @@
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
<enable_ptm desc="enable ptm of uos">n</enable_ptm>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
<pcpu_id></pcpu_id>
@@ -49,6 +50,7 @@
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
<enable_ptm desc="enable ptm of uos">n</enable_ptm>
<usb_xhci desc="USB xHCI mediator configuration. input format: bus#-port#[:bus#-port#: ...]. e.g.: 1-2:2-4"></usb_xhci>
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
<pcpu_id></pcpu_id>