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>
This commit is contained in:
Wei Liu 2019-11-28 18:38:01 +08:00 committed by wenlingz
parent 91330eaa72
commit 38a647c8a5

View File

@ -150,8 +150,8 @@ def is_need_epc(epc_section, i, config):
return
else:
print("\t\t.epc= {", file=config)
print('\t\t\t.base = "{0}",'.format(epc_section.base), file=config)
print('\t\t\t.size = {0},'.format(epc_section.size), file=config)
print('\t\t\t.base = {0},'.format(epc_section.base[i]), file=config)
print('\t\t\t.size = {0},'.format(epc_section.size[i]), file=config)
print("\t\t},", file=config)