File 26733-VT-d-Enumerate-IOMMUs-when-listing-capabilities.patch of Package xen

# Commit 32861c537781ac94bf403fb778505c3679b85f67
# Date 2013-03-20 10:02:26 +0100
# Author Andrew Cooper <andrew.cooper3@citrix.com>
# Committer Jan Beulich <jbeulich@suse.com>
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>

--- a/xen/drivers/passthrough/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -2135,7 +2135,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");
 
openSUSE Build Service is sponsored by