acrn-config: acrn-config: add white list to skip item check
Some acrn-dm arguments are not needed when launch some vm, but the item check fucntion still has strict check on the arguments, which result in the script generating failure. This patch add whilte list to skip the check. Tracked-On: #3852 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
fc40ee4c83
commit
95b9ba36b0
|
@ -462,6 +462,10 @@ def args_aval_check(arg_list, item, avl_list):
|
|||
"""
|
||||
# args should be set into launch xml from webUI
|
||||
i_cnt = 1
|
||||
skip_check_list = ['gvt_args', 'rootfs_dev']
|
||||
if item in skip_check_list:
|
||||
return
|
||||
|
||||
for arg_str in arg_list.values():
|
||||
if arg_str == None or not arg_str.strip():
|
||||
empty_err(i_cnt, item)
|
||||
|
|
Loading…
Reference in New Issue