mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 20:35:32 +00:00
This patch generates vDSDT for pre-launched VMs based on the scenario configuration and static allocation results. The vDSDT contains the following objects. * A device object representing the root PCI bus which has the same location and name as the object in physical DSDT. This object contains device identification objects such as _HID, _CID, _BBN and _UID, the _CRS object encoding the bus numbers and PCI hole regions, and the _PRT object encoding the routing from vPCI device pins to virtual interrupt lines. * For each pass-through device assigned to the VM, a device object is created based on the AML template of that device in board XML (if exists). The _ADR object is rewritten with the vBDF.. v1 -> v2: * In order to replace the current static vDSDT, the AML templates in board XMLs now include objects that are referenced by other devices as well. * When TPM is assigned, the corresponding device object in DSDT (if exists) will be copied. * Add the _S5 control method to vDSDT, as is done in the static DSDT sources. * The old vDSDT generation routine and the static DSDT sources it uses are removed. v2 -> v3: * Only follow 'uses', 'is used by' or 'consumes resources by' dependencies. * Organize the device objects in vDSDT according to the scopes they are in. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
acpi_gen | ||
acpi_template/template | ||
board_config | ||
board_inspector | ||
config_app | ||
data | ||
hv_config | ||
kconfig | ||
launch_config | ||
library | ||
scenario_config | ||
schema | ||
static_allocators | ||
xforms | ||
README |
folder structure Kconfig : Select working scenario and target board, configure ACRN hypervisor capabilities and features. target : Get target board information under native Linux environment and generate board_info XML. board_config : Parse board_info XML and scenario XML to generate board related configuration files under misc/acrn-config/xmls/board-xmls/ folder. scenario_config : Parse board_info XML and scenario XML to generate scenario based VM configuration files under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder. launch_config : Parse board_info XML, scenario XML and devicemodel param XML to generate launch script for post-launched vm under misc/acrn-config/xmls/config-xmls/$(BOARD)/ folder. library : The folder stores shared software modules or libs for acrn-config offline tool.