IOAPICs under the control of IOMMUs with unit number >= 1 were not
described correctly in the generated configs due to a stupid naming
mistake that Python cannot report.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
if chip.bdf == bdf:
raise RuntimeError('IOAPICs with identical BDF')
ioapic.bdf = bdf
if chip.bdf == bdf:
raise RuntimeError('IOAPICs with identical BDF')
ioapic.bdf = bdf
- ioapic.dmar_unit = len(units) - 1
+ ioapic.iommu = len(units) - 1
offset += scope_len
# Reserved Memory Region Reporting Structure
offset += scope_len
# Reserved Memory Region Reporting Structure