Skip to contentSkip to conversation

IOMMU/VT-d: Enumerate iommus when listing capabilities

PATCH New Andrew Cooper 1 participant 1 message Mar 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 IOMMU/VT-d: Enumerate iommus when listing capabilities

This saves N identical console log lines on a multi-iommu server.

xen/drivers/passthrough/vtd/iommu.c +2 -1
diff -r a6b81234b189 -r c07189acee86 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");