Skip to content

Commit 38a647c

Browse files
Wei Liuwenlingz
authored andcommitted
acrn-config: correct epc_section base/size value
Current epc_section base/size vaule missed vm id so the configure item is not working, the patch will fix this issue. Tracked-On: #4165 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
1 parent 91330ea commit 38a647c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

misc/acrn-config/scenario_config/vm_configurations_c.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ def is_need_epc(epc_section, i, config):
150150
return
151151
else:
152152
print("\t\t.epc= {", file=config)
153-
print('\t\t\t.base = "{0}",'.format(epc_section.base), file=config)
154-
print('\t\t\t.size = {0},'.format(epc_section.size), file=config)
153+
print('\t\t\t.base = {0},'.format(epc_section.base[i]), file=config)
154+
print('\t\t\t.size = {0},'.format(epc_section.size[i]), file=config)
155155
print("\t\t},", file=config)
156156

157157

0 commit comments

Comments
 (0)