mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
config tool: ivshmem: new design for ivshmem
According to the new design of DX, implement ivshmem configuration and generate hv related files. Tracked-On: #6690 Signed-off-by: Yuanyuan Zhao <yuanyuan.zhao@linux.intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
committed by
acrnsi-robot
parent
3d5c3c4754
commit
9670caabf0
@@ -126,7 +126,7 @@ def insert_legacy_vuart_to_dev_dict(vm_node, devdict_io_port):
|
||||
devdict_io_port[(f"{LEGACY_VUART}_{vuart_id}", "base")] = LEGACY_VUART_IO_PORT_SIZE
|
||||
|
||||
def insert_ivsheme_to_dev_dict(scenario_etree, devdict_32bits, devdict_64bits, vm_id):
|
||||
shmem_regions = lib.lib.get_shmem_regions(scenario_etree)
|
||||
shmem_regions = lib.lib.get_ivshmem_regions_by_tree(scenario_etree)
|
||||
if vm_id not in shmem_regions:
|
||||
return
|
||||
shmems = shmem_regions.get(vm_id)
|
||||
|
||||
Reference in New Issue
Block a user