Andrew Cooper
2013-Mar-19 22:32 UTC
[PATCH] IOMMU/VT-d: Enumerate iommus when listing capabilities
This saves N identical console log lines on a multi-iommu server. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> diff -r a6b81234b189 -r c07189acee86 xen/drivers/passthrough/vtd/iommu.c --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -2131,7 +2131,8 @@ int __init intel_vtd_setup(void) { iommu = drhd->iommu; - printk("Intel VT-d supported page sizes: 4kB"); + printk("Intel VT-d iommu %"PRIu32" supported page sizes: 4kB", + iommu->index); if (cap_sps_2mb(iommu->cap)) printk(", 2MB");