Re: [Xen-devel] [PATCH] iommu: fix check for autotranslated hardware domain

2020-03-04 Thread Jan Beulich
On 04.03.2020 15:00, Roger Pau Monne wrote: > The current position of the check_hwdom_reqs is wrong, as there's a > is_iommu_enabled at the top of the function that will prevent getting > to the check on systems without an IOMMU, because the hardware domain > won't have the XEN_DOMCTL_CDF_iommu

[Xen-devel] [PATCH] iommu: fix check for autotranslated hardware domain

2020-03-04 Thread Roger Pau Monne
The current position of the check_hwdom_reqs is wrong, as there's a is_iommu_enabled at the top of the function that will prevent getting to the check on systems without an IOMMU, because the hardware domain won't have the XEN_DOMCTL_CDF_iommu flag set. Move the position of the check so it's done