vfio/spapr: Only compile sPAPR IOMMU support when needed
commit10164df6ed3d41cbf67105dcd954a663ef4cc3e9
authorCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 06:58:24 +0000 (19 07:58 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 5 Jan 2024 20:25:20 +0000 (5 21:25 +0100)
tree8b0759042eb776fb63b2d1b2ad7b3330df087d30
parentce5f6d49f5845c3b9955cc377a5223c3f8d7ba1e
vfio/spapr: Only compile sPAPR IOMMU support when needed

sPAPR IOMMU support is only needed for pseries machines. Compile out
support when CONFIG_PSERIES is not set. This saves ~7K of text.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Tested-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/meson.build