config-tools: check vmsix enablement for ehl-crb-b

Assign extra vbar for vmsix devive for ehl-crb-b only.

Tracked-On: #5693
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
This commit is contained in:
Yang,Yu-chu 2021-02-01 17:40:15 -08:00 committed by wenlingz
parent 1a0ab78a84
commit 0c7d8dd8cc
1 changed files with 15 additions and 14 deletions

View File

@ -95,6 +95,7 @@ def write_vbar(i_cnt, bdf, pci_bar_dic, bar_attr, \
free = MmioWindow(0, 0)
is_vmsix = False
# If the device is vmsix device, find a free mmio window up to 4k size
if board_cfg_lib.is_matched_board(('ehl-crb-b')):
for vm_i in pci_devs_per_vm:
if bdf in pci_devs_per_vm[vm_i]:
if scenario_cfg_lib.VM_DB[common.VM_TYPES[vm_i]]['load_type'] == "PRE_LAUNCHED_VM":