On 17/01/2019 13:35, Jan Beulich wrote: >>>> On 16.01.19 at 10:00, <andrew.coop...@citrix.com> wrote: >> @@ -709,6 +709,12 @@ Controls for the dom0 IOMMU setup. >> This option is enabled by default on x86 systems, and invalid on ARM >> systems. >> >> +* The `none` option is intended for development purposes only, and skips >> + certain safety checks pertaining to the correct IOMMU configuration for >> + dom0 to boot. > Would you mind inserting "PVH" ahead of "dom0"?
That would result in an inaccurate description of the functionality. check_hwdom_reqs() is not specific to PVH guests. > >> @@ -156,7 +159,7 @@ int iommu_domain_init(struct domain *d) >> >> static void __hwdom_init check_hwdom_reqs(struct domain *d) >> { >> - if ( !paging_mode_translate(d) ) >> + if ( iommu_hwdom_none || !paging_mode_translate(d) ) >> return; > Seeing the __hwdom_init, wouldn't it be better to restrict this > relaxation to Xen boot time created Dom0? No, I don't think so. That would complicate the change (which is already only for use by developers), and unnecessarily prohibit testing of the late hwdom paths. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel