From: Jan Kiszka <[email protected]> In case they are enabled while parsing the tree. Analogously to DMAR on Intel, except that we do not need to keep them.
Signed-off-by: Jan Kiszka <[email protected]> --- pyjailhouse/sysfs_parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyjailhouse/sysfs_parser.py b/pyjailhouse/sysfs_parser.py index a2ce11a8..29c58b16 100644 --- a/pyjailhouse/sysfs_parser.py +++ b/pyjailhouse/sysfs_parser.py @@ -205,6 +205,9 @@ def parse_iomem(pcidevices): if r.typestr.find('dmar') >= 0: dmar_regions.append(r) append_r = False + # filter out AMD IOMMU regions + if r.typestr.find('amd_iommu') >= 0: + append_r = False if append_r: ret.append(r) -- 2.26.2 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/07378a910b85a911caa14eaf7d67d65cfdd6fc51.1599473999.git.jan.kiszka%40siemens.com.
