Switch to using pd and also print the pfn that failed.
No functional change intended.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
IOMMUF_readable | IOMMUF_writable, &flush_flags);
if ( rc )
- printk(XENLOG_WARNING " d%d: IOMMU mapping failed: %d\n",
- d->domain_id, rc);
+ printk(XENLOG_WARNING "%pd: identity %smapping of %lx failed: %d\n",
+ d, !paging_mode_translate(d) ? "IOMMU " : "", pfn, rc);
if (!(i & 0xfffff))
process_pending_softirqs();