>>> On 15.03.17 at 21:05, <olekst...@gmail.com> wrote: > --- a/xen/include/public/domctl.h > +++ b/xen/include/public/domctl.h > @@ -66,6 +66,9 @@ struct xen_domctl_createdomain { > /* Is this a xenstore domain? */ > #define _XEN_DOMCTL_CDF_xs_domain 5 > #define XEN_DOMCTL_CDF_xs_domain (1U<<_XEN_DOMCTL_CDF_xs_domain) > + /* Should IOMMU page tables be populated at the domain creation time? */ > +#define _XEN_DOMCTL_CDF_use_iommu 6 > +#define XEN_DOMCTL_CDF_use_iommu (1U<<_XEN_DOMCTL_CDF_use_iommu) > uint32_t flags;
The need for this to be done via domain creation flag (rather than as a separate, later step) needs to be well explained. Generally what to add here should only be things which can't be done later in a reasonable way. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel