mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-18 07:18:45 +00:00
acrn-config: fix csme passthrough issue for launch setting
minor_ver should be le 2 when major_ver == 2. Tracked-On: #5276 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -98,7 +98,7 @@ def cse_pt(sel, vmid, config):
|
||||
print("major_ver=`echo $hbm_ver | cut -d '.' -f1`", file=config)
|
||||
print("minor_ver=`echo $hbm_ver | cut -d '.' -f2`", file=config)
|
||||
print('if [[ "$major_ver" -lt "2" ]] || \\', file=config)
|
||||
print(' [[ "$major_ver" == "2" && "$minor_ver" -lt "2" ]]; then', file=config)
|
||||
print(' [[ "$major_ver" == "2" && "$minor_ver" -le "2" ]]; then', file=config)
|
||||
print(" cse_passthrough=1", file=config)
|
||||
print("fi", file=config)
|
||||
print('boot_cse_option=""', file=config)
|
||||
|
Reference in New Issue
Block a user