AMD/IOMMU: guest IOMMU support is for HVM only
authorJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:27:42 +0000 (15:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 3 May 2021 13:27:42 +0000 (15:27 +0200)
commit230a2f68159394b69b35c18844d621e8dcf5b28e
tree86b9672603c616739c17d496553a22680b4e9060
parentcb117e426f544af6af3e071249a650ecd7f88655
AMD/IOMMU: guest IOMMU support is for HVM only

Generally all of this is dead code anyway, but there's a caller of
guest_iommu_add_ppr_log(), and the code itself calls
p2m_change_type_one(), which is about to become HVM-only. Hence this
code, short of deleting it altogether, needs to become properly HVM-
only as well.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/amd/Makefile
xen/drivers/passthrough/amd/iommu.h