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:
parent
1a0ab78a84
commit
0c7d8dd8cc
|
@ -95,6 +95,7 @@ def write_vbar(i_cnt, bdf, pci_bar_dic, bar_attr, \
|
||||||
free = MmioWindow(0, 0)
|
free = MmioWindow(0, 0)
|
||||||
is_vmsix = False
|
is_vmsix = False
|
||||||
# If the device is vmsix device, find a free mmio window up to 4k size
|
# 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:
|
for vm_i in pci_devs_per_vm:
|
||||||
if bdf in pci_devs_per_vm[vm_i]:
|
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":
|
if scenario_cfg_lib.VM_DB[common.VM_TYPES[vm_i]]['load_type'] == "PRE_LAUNCHED_VM":
|
||||||
|
|
Loading…
Reference in New Issue