]> xenbits.xensource.com Git - xen.git/commitdiff
VT-d: Enumerate IOMMUs when listing capabilities
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 2 Apr 2013 10:28:22 +0000 (12:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 2 Apr 2013 10:28:22 +0000 (12:28 +0200)
This saves N identical console log lines on a multi-iommu server.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
master changeset: 32861c537781ac94bf403fb778505c3679b85f67
master date: 2013-03-20 10:02:26 +0100

xen/drivers/passthrough/vtd/iommu.c

index e1faacba8234912e00cf23d2be53471bddb36466..c218ec3af8ca552181fb799c5887201a83600b80 100644 (file)
@@ -2164,7 +2164,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");