mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
acrn-config: enable item check for launch config tool
1. enable item check for acrn-dm args which set from webUI input.
2. remove 'cpu_num' tag from launch config xml.
v1-v2:
1). add method to check 'cpu_num'/'mem_size' in config xml.
v2-v3:
1). as 'vcpu_num' configured in scenario, the parameter for acrn-dm is no
longer needed, remove 'cpu_num' tag and its handler from launch config.
2). add 'poweroff_channel' tag for generic config.
Tracked-On: #3811
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
<rtos_type desc="UOS Realtime capability">no</rtos_type>
|
||||
<mem_size desc="UOS memory size in MByte">4096</mem_size>
|
||||
<gvt_args desc="GVT argument for the vm">64 448 8</gvt_args>
|
||||
<cpu_num desc="max cpu number for the vm">1</cpu_num>
|
||||
<vbootloader desc="virtual bootloader method">ovmf</vbootloader>
|
||||
<rootfs_dev desc="rootfs partition devices" readonly="true">/dev/sda3</rootfs_dev>
|
||||
<rootfs_img desc="rootfs image" readonly="true">./win10-ltsc.img</rootfs_img>
|
||||
@@ -30,7 +29,6 @@
|
||||
<uos id="2">
|
||||
<uos_type desc="UOS type">PREEMPT-RT LINUX</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">Hard RT</rtos_type>
|
||||
<cpu_num desc="max cpu number for the vm">1</cpu_num>
|
||||
<mem_size desc="UOS memory size in MByte">1024</mem_size>
|
||||
<gvt_args configurable="0" desc="GVT argument for the vm"></gvt_args>
|
||||
<vbootloader desc="" readonly="true">ovmf</vbootloader>
|
||||
@@ -57,7 +55,6 @@
|
||||
<uos id="3">
|
||||
<uos_type desc="UOS type">VXWORKS</uos_type>
|
||||
<rtos_type desc="UOS Realtime capability">Hard RT</rtos_type>
|
||||
<cpu_num desc="max cpu number for the vm">1</cpu_num>
|
||||
<mem_size desc="UOS memory size in MByte">2048</mem_size>
|
||||
<gvt_args desc="GVT argument for the vm"></gvt_args>
|
||||
<vbootloader desc="virtual boot loader method" readonly="true">ovmf</vbootloader>
|
||||
|
||||
Reference in New Issue
Block a user