On Tue, Feb 08, 2022 at 06:00:12PM +0000, Oleksii Moisieiev wrote: > If set, Xen is allowed to assign the devices even if they are not under > IOMMU. > Can be confugired from dom.cfg in the following format: > force_assign_without_iommu = 1 > > This parameter has the same purpose as xen,force-assign-without-iommu > property in dom0less archtecture. > > Signed-off-by: Oleksii Moisieiev <oleksii_moisie...@epam.com> > --- > diff --git a/tools/libs/light/libxl_types.idl > b/tools/libs/light/libxl_types.idl > index 2a42da2f7d..1080966c33 100644 > --- a/tools/libs/light/libxl_types.idl > +++ b/tools/libs/light/libxl_types.idl > @@ -564,6 +564,7 @@ libxl_domain_build_info = Struct("domain_build_info",[ > ("apic", libxl_defbool), > ("dm_restrict", libxl_defbool), > ("tee", libxl_tee_type), > + ("force_assign_without_iommu", libxl_defbool),
As you are making changes to libxl's API, could you add a LIBXL_HAVE_* macro in "tools/include/libxl.h", they are plenty of example there about adding new fields in "libxl_domain_build_info". Thanks, -- Anthony PERARD