[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 10:20, <quan.xu@xxxxxxxxx> wrote: > On May 10, 2016 4:03 PM, Jan Beulich <JBeulich@xxxxxxxx> wrote: >> But please - as said - also avoid logging any message for already dying >> domains. >> > > > Kept Kevin's opinion for later, I hope I have got your point as below: > ... > + rc = hd->platform_ops->unmap_page(d, gfn); > + > + if ( unlikely(rc) ) > + { > + if ( is_hardware_domain(d) ) > + if ( printk_ratelimit() ) > + printk(XENLOG_ERR > + "iommu_unmap_page: IOMMU unmapping gfn %#lx failed > for dom%d.", > + gfn, d->domain_id); > + else > + domain_crash(d); > + } > + > + return rc; > ... I don't see how this would address my previous comment (not to speak of the "else" now being associated with the wrong "if"). Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |