xen/dom0: Add a dom0-iommu=none option
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 7 Dec 2018 13:43:27 +0000 (13:43 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Jan 2019 18:19:52 +0000 (18:19 +0000)
commite1fe5f9c389286b16171c632b3063bcc65cec07e
tree1f7f89e3f94688c54ecebd714f03e3c53e7342cb
parentb7e8dee07cdc9714d79a2d4eb524c17705a596e4
xen/dom0: Add a dom0-iommu=none option

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 reasonably 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.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/drivers/passthrough/iommu.c