|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 02/10] IOMMU: handle IOMMU mapping and unmapping failures
>>> On 10.05.16 at 09:53, <quan.xu@xxxxxxxxx> wrote:
> + rc = hd->platform_ops->unmap_page(d, gfn);
> +
> + if ( unlikely(rc) )
> + {
> + if ( printk_ratelimit() )
> + printk(XENLOG_ERR
> + "iommu_unmap_page: IOMMU unmapping gfn %#lx failed for
> dom%d.",
> + gfn, d->domain_id);
> +
> + if ( !is_hardware_domain(d) )
> + domain_crash(d);
> + }
> +
> + return rc;
But please - as said - also avoid logging any message for already
dying domains.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |