mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 01:54:44 +00:00
acrn-config: add cpu_affinity for launch config xmls
1.Remove cpu_sharing item from launch config xml. 2.Add cpu_affinity for launch config xmls to configurable POST VM cpu affinity from webUI. 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:
@@ -6,9 +6,11 @@
|
||||
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT."></gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs.">Disabled</cpu_sharing>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<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>
|
||||
</cpu_affinity>
|
||||
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT."></gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs.">Disabled</cpu_sharing>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<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>
|
||||
</cpu_affinity>
|
||||
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT."></gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Enable</vuart0>
|
||||
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs.">Disabled</cpu_sharing>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<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>
|
||||
</cpu_affinity>
|
||||
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
@@ -39,9 +41,11 @@
|
||||
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT."></gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs." readonly="true">Disabled</cpu_sharing>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<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>
|
||||
</cpu_affinity>
|
||||
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT."></gvt_args>
|
||||
<vbootloader desc="virtual bootloader method" readonly="true">ovmf</vbootloader>
|
||||
<vuart0 desc="vUART0 which emulated by device model">Disable</vuart0>
|
||||
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs.">Disabled</cpu_sharing>
|
||||
<poweroff_channel desc="the method of power off uos"></poweroff_channel>
|
||||
<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>
|
||||
</cpu_affinity>
|
||||
|
||||
<passthrough_devices>
|
||||
<usb_xdci desc="vm usb_xdci device"></usb_xdci>
|
||||
|
||||
Reference in New Issue
Block a user