Re: [Xen-devel] [PATCH v7 4/7] iommu: introduce iommu_map_page_nocrash

2018-11-12 Thread Jan Beulich
>>> On 15.10.18 at 12:35, wrote: > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -313,16 +313,23 @@ void iommu_domain_destroy(struct domain *d) > hd->reserved_ranges = NULL; > } > > -int iommu_map_page(struct domain *d, dfn_t dfn, mfn_t mfn, > -

[Xen-devel] [PATCH v7 4/7] iommu: introduce iommu_map_page_nocrash

2018-10-15 Thread Paul Durrant
To allow a subsequent patch to map DFNs specified by hypercall, there needs to be iommu_op wrapper function that does not contain an implicit domain_crash. This patch introduces that function. Signed-off-by: Paul Durrant --- Cc: Jan Beulich v7: - New in v7. --- xen/drivers/passthrough/iommu.c