>>> On 10.05.16 at 10:20, <quan...@intel.com> wrote:
> On May 10, 2016 4:03 PM, Jan Beulich <jbeul...@suse.com> 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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to