mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 20:53:46 +00:00
config_tools: add psram config in launch config
add "--psram" in acrn dm arguments in launch scripts when PSRAM_ENABLED=y and the VM is post-launched RTVM. Tracked-On: #5649 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
7c6a52037a
commit
e3a8b09e62
@ -613,6 +613,15 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):
|
|||||||
# shm regions args set
|
# shm regions args set
|
||||||
shm_arg_set(dm, vmid, config)
|
shm_arg_set(dm, vmid, config)
|
||||||
|
|
||||||
|
# psram set
|
||||||
|
psram_enabled = 'n'
|
||||||
|
try:
|
||||||
|
psram_enabled = common.get_hv_item_tag(common.SCENARIO_INFO_FILE, "FEATURES", "PSRAM", "PSRAM_ENABLED")
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
if uos_type == "PREEMPT-RT LINUX" and psram_enabled == 'y':
|
||||||
|
print(" --psram \\", file=config)
|
||||||
|
|
||||||
for value in sel.bdf.values():
|
for value in sel.bdf.values():
|
||||||
if value[vmid]:
|
if value[vmid]:
|
||||||
print(" $intr_storm_monitor \\", file=config)
|
print(" $intr_storm_monitor \\", file=config)
|
||||||
|
Loading…
Reference in New Issue
Block a user