IOMMU: iommu_snoop is x86-only
authorJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 14:37:30 +0000 (15:37 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 10 Mar 2020 14:37:30 +0000 (15:37 +0100)
commit0604e1549ac522443f01d49774f73cfa67561358
tree1c04dd86825b15abe0913be3108ad4e1b9e996fb
parent0de9500d1c2c3f37b3cd86b180dc1d2aafa2ad1b
IOMMU: iommu_snoop is x86-only

In fact it's VT-d specific, but we don't have a way yet to build code
for just one vendor. Provide a #define for the opposite case.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/iommu.h