On 04.02.2025 14:54, Mykyta Poturai wrote:
> --- a/xen/include/xen/iommu.h
> +++ b/xen/include/xen/iommu.h
> @@ -238,6 +238,9 @@ int iommu_do_dt_domctl(struct xen_domctl *domctl, struct 
> domain *d,
>   */
>  int iommu_remove_dt_device(struct dt_device_node *np);
>  
> +/* Error code for reporting no IOMMU is present */
> +#define NO_IOMMU    1

Hmm. The identifier is overly generic, and even the comment leaves open
whose error code this is.

Jan


Reply via email to