mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-18 07:18:45 +00:00
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:
@@ -206,5 +206,6 @@
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</communication_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@@ -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>
|
||||
|
@@ -182,6 +182,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>
|
||||
@@ -220,6 +221,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>
|
||||
@@ -258,6 +260,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>
|
||||
@@ -296,6 +299,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>
|
||||
@@ -334,6 +338,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>
|
||||
@@ -369,5 +374,6 @@
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</communication_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@@ -7,6 +7,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>
|
||||
|
@@ -7,6 +7,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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
|
@@ -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>
|
||||
@@ -90,6 +92,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" />
|
||||
<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" />
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id />
|
||||
@@ -130,6 +133,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" />
|
||||
<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" />
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id />
|
||||
@@ -170,6 +174,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" />
|
||||
<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" />
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id />
|
||||
@@ -210,6 +215,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" />
|
||||
<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" />
|
||||
<cpu_affinity desc="List of pCPU that this VM's vCPUs are pinned to.">
|
||||
<pcpu_id />
|
||||
|
@@ -143,6 +143,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>KATA_VM</vm_type>
|
||||
@@ -176,5 +177,6 @@
|
||||
<target_vm_id>1</target_vm_id>
|
||||
<target_uart_id>1</target_uart_id>
|
||||
</communication_vuart>
|
||||
<PTM>n</PTM>
|
||||
</vm>
|
||||
</acrn-config>
|
||||
|
@@ -7,6 +7,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>
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user