From: Jan Kiszka Date: Wed, 13 May 2015 17:22:24 +0000 (+0200) Subject: tools: config-create: Fix IOMMU unit number of IOAPICs X-Git-Url: https://rtime.felk.cvut.cz/gitweb/jailhouse.git/commitdiff_plain/873cc83b3e4f589429e7ee23311ded24f7b1bbaf tools: config-create: Fix IOMMU unit number of IOAPICs 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 --- diff --git a/tools/jailhouse-config-create b/tools/jailhouse-config-create index d489113..8a8e598 100755 --- a/tools/jailhouse-config-create +++ b/tools/jailhouse-config-create @@ -700,7 +700,7 @@ def parse_dmar(pcidevices, ioapics): 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