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:
Wei Liu
2020-04-23 11:16:01 +08:00
committed by wenlingz
parent c8618dd2fb
commit 233f2deb4b
37 changed files with 127 additions and 42 deletions

View File

@@ -6,11 +6,14 @@
<mem_size desc="UOS memory size in MByte">2000</mem_size>
<gvt_args desc="GVT arguments. Recommendation is 64 448 8. Leave it blank to disable GVT.">64 448 8</gvt_args>
<vbootloader desc="">ovmf</vbootloader>
<cpu_sharing desc="Whether the binding pCPUs are sharing with other VMs.">Disabled</cpu_sharing>
<rootfs_dev desc="">/dev/nvme0n1p3</rootfs_dev>
<rootfs_img desc="">/root/uos/uos.img</rootfs_img>
<console_type desc="UOS console type">com1(ttyS0)</console_type>
<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" />
<audio desc="vm audio device" />