acrn-config: set up whitelist for board containing hide pci device

Currently, config tool will maintain a whitelist for the board which
need to hide some pci devices. For the board out of whitelist, we set
MAX_HIDE_PDEVS_NUM to 0.

Tracked-On: #3475
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu
2020-01-06 13:39:22 +08:00
committed by wenlingz
parent 65f3751ea3
commit 57a362061f
3 changed files with 40 additions and 1 deletions

View File

@@ -33,6 +33,11 @@ ERR_LIST = {}
HEADER_LICENSE = common.open_license() + "\n"
# The data base contains hide pci device
KNOWN_HIDDEN_PDEVS_BOARD_DB = {
'apl-up2':['00:0d:0'],
}
def prepare(check_git):
""" check environment """