On 21/12/2018 12:44, Roger Pau Monné wrote:
> On Thu, Dec 20, 2018 at 11:40:52PM +0000, Andrew Cooper wrote:
>> For development purposes, it is very convenient to boot Xen as a PVH guest,
>> with an XTF PV or PVH "dom0".  The edit-compile-go cycle is a matter of
>> seconds, and you can resonably insert printk() debugging in places which 
>> which
>> would be completely infeasible when booting fully-fledged guests.
>>
>> However, the PVH dom0 path insists on having a working IOMMU, which doesn't
>> exist when virtualised as a PVH guest, and isn't necessary for XTF anyway.
>>
>> Introduce a developer mode to skip the IOMMU requirement.
> This looks very similar to the current 'passthrough' option, maybe it
> would be enough to allow PVH dom0 to use the passthrough option
> provided a warning is added to
> arch_iommu_check_autotranslated_hwdom?

I considered that, but "dom0-iommu=passthrough" isn't an accurate
description of what is going on.  Frankly, its not correct for PV either.

TBH, dom0-iommu=none is better for both.  How about I introduce that as
the new option, and leave passthrough as a legacy alias?

~Andrew

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to