From cd1895d1e785a74ab8191735f6ca810fa7c14ec8 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Mon, 8 Jun 2020 13:51:40 +0800 Subject: [PATCH] acrn-config: modify whl-ipc-i7 default industry xml modify whl-ipc-i7 default industry xml to avoid build issue. Tracked-On: #4913 Signed-off-by: Wei Liu --- misc/acrn-config/library/scenario_cfg_lib.py | 4 ++++ misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/misc/acrn-config/library/scenario_cfg_lib.py b/misc/acrn-config/library/scenario_cfg_lib.py index 9ba6ca208..5cec359a2 100644 --- a/misc/acrn-config/library/scenario_cfg_lib.py +++ b/misc/acrn-config/library/scenario_cfg_lib.py @@ -588,6 +588,10 @@ def check_vuart(v0_vuart, v1_vuart): def vcpu_clos_check(cpus_per_vm, clos_per_vm, prime_item, item): + + if not board_cfg_lib.is_rdt_supported(): + return + common_clos_max = 0 cdp_enabled = cdp_enabled = common.get_hv_item_tag(common.SCENARIO_INFO_FILE, "FEATURES", "RDT", "CDP_ENABLED") (rdt_resources, rdt_res_clos_max, _) = board_cfg_lib.clos_info_parser(common.BOARD_INFO_FILE) diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml index f1fe9985c..5a0e4dfed 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml @@ -136,6 +136,7 @@ 0 + 0 0