[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC 11/19] xen/passthrough: Call arch_iommu_domain_destroy before calling iommu_teardown
>>> On 16.06.14 at 18:17, <julien.grall@xxxxxxxxxx> wrote: > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -219,10 +219,10 @@ void iommu_domain_destroy(struct domain *d) > if ( !iommu_enabled || !hd->platform_ops ) > return; > > + arch_iommu_domain_destroy(d); > + > if ( need_iommu(d) ) > iommu_teardown(d); > - > - arch_iommu_domain_destroy(d); At the first glance this doesn't look right, including the explanation you gave (why would devices still be assigned to a guest at this point). And it's rather hard to properly decide with the series here depending on two other series, i.e. there not being a arch_iommu_domain_destroy() at all in current staging. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |