On Fri, 7 Mar 2025, Julien Grall wrote: > > What exactly do you mean by imposing with respect to the iommu? Require > > one, or mirror the dom0 code and set it for the hwdom? > > > > if ( iommu_enabled ) > > dom0_cfg.flags |= XEN_DOMCTL_CDF_iommu; > > I mean requires one. Without it, you would need to set directmap and I don't > think this should be allowed (at least for now) for the HW domain.
I think the directmap should be optional for the hardware domain. In practice, we already have not direct-mapped dom0 today when the user enables cache coloring.