aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2013-04-02 12:28:22 +0200
committerJan Beulich <jbeulich@suse.com>2013-04-02 12:28:22 +0200
commit71957125b573864f8a7e72d1e2ade89446da88a7 (patch)
treeaa815d3dc33cb81bd9d088b01e80d16ea75a4c73
parentdafb4bd5885ca66040094b5d79e053e245d587df (diff)
downloadxen-71957125b573864f8a7e72d1e2ade89446da88a7.tar.gz
xen-71957125b573864f8a7e72d1e2ade89446da88a7.tar.bz2
xen-71957125b573864f8a7e72d1e2ade89446da88a7.zip
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> master changeset: 32861c537781ac94bf403fb778505c3679b85f67 master date: 2013-03-20 10:02:26 +0100
-rw-r--r--xen/drivers/passthrough/vtd/iommu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c
index e1faacba82..c218ec3af8 100644
--- a/xen/drivers/passthrough/vtd/iommu.c
+++ b/xen/drivers/passthrough/vtd/iommu.c
@@ -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");