mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-21 13:08:42 +00:00
config_tool: bdf of ioport serial port
Little fix: bdf format of inport serial port in board_inspector. Tracked-On: #8235 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com>
This commit is contained in:
parent
fbe1c39a9e
commit
b5c70650cd
@ -94,7 +94,7 @@ def dump_ttys_info(ttys_list, config):
|
|||||||
base = read_ttys_node(base_path)
|
base = read_ttys_node(base_path)
|
||||||
try:
|
try:
|
||||||
b = get_bdf_from_realpath(os.path.join(TTY_PATH, ttys_n, 'device'))
|
b = get_bdf_from_realpath(os.path.join(TTY_PATH, ttys_n, 'device'))
|
||||||
bdf = f'{b[0]}:{b[1]}.{b[2]}
|
bdf = f'{b[0]}:{b[1]}.{b[2]}'
|
||||||
except AssertionError:
|
except AssertionError:
|
||||||
bdf = ''
|
bdf = ''
|
||||||
if bdf:
|
if bdf:
|
||||||
|
Loading…
Reference in New Issue
Block a user