mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-04-30 04:33:58 +00:00
As is recommended by UX/DX reviews, the per-VM console virtual UART is now limited to the following choices: - Disabled - a COM port from COM1 to COM4 - PCI based This patch converts the schema of scenario XMLs to integrate this recommendation and add logic in the scenario upgrader to migrate data from old scenario XMLs. v1 -> v2: * Update the static allocators and C source transformers according to the new console vUART config item. Tracked-On: #6690 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
19 lines
751 B
Python
19 lines
751 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# Copyright (C) 2021 Intel Corporation. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
import sys, os, logging
|
|
sys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'library'))
|
|
import common, lib.lib, lib.error
|
|
|
|
def fn(board_etree, scenario_etree, allocation_etree):
|
|
# With the console vUART explicitly specified as COM port and communication vUART with explicit I/O port base
|
|
# addresses, there is no need to allocate any port I/O for now.
|
|
#
|
|
# This allocator is preserved here, though, as the implicit vUART connections for system-level power management,
|
|
# which has to be port I/O based and are to be added later, will need I/O port allocation again.
|
|
pass
|