[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-9.0 09/10] vfio/spapr: Only compile sPAPR IOMMU support when
From: |
Cédric Le Goater |
Subject: |
[PATCH for-9.0 09/10] vfio/spapr: Only compile sPAPR IOMMU support when needed |
Date: |
Fri, 8 Dec 2023 09:45:59 +0100 |
sPAPR IOMMU support is only needed for pseries machines. Compile out
support when CONFIG_PSERIES is not set. This saves ~7K of text.
Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
hw/vfio/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build
index
e5d98b6adc223061f6b0c3e1a7db3ba93d4eef16..bb98493b53e858c53181e224f9cb46892838a8be
100644
--- a/hw/vfio/meson.build
+++ b/hw/vfio/meson.build
@@ -4,9 +4,9 @@ vfio_ss.add(files(
'common.c',
'container-base.c',
'container.c',
- 'spapr.c',
'migration.c',
))
+vfio_ss.add(when: 'CONFIG_PSERIES', if_true: files('spapr.c'))
vfio_ss.add(when: 'CONFIG_IOMMUFD', if_true: files(
'iommufd.c',
))
--
2.43.0
- [PATCH for-9.0 02/10] vfio/container: Introduce vfio_legacy_setup() for further cleanups, (continued)
- [PATCH for-9.0 02/10] vfio/container: Introduce vfio_legacy_setup() for further cleanups, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 07/10] vfio/spapr: Introduce a sPAPR VFIOIOMMU QOM interface, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 05/10] vfio/container: Introduce a VFIOIOMMU legacy QOM interface, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 08/10] vfio/iommufd: Introduce a VFIOIOMMU iommufd QOM interface, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 09/10] vfio/spapr: Only compile sPAPR IOMMU support when needed,
Cédric Le Goater <=
- [PATCH for-9.0 04/10] vfio/container: Introduce a VFIOIOMMU QOM interface, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 06/10] vfio/container: Intoduce a new VFIOIOMMUClass::setup handler, Cédric Le Goater, 2023/12/08
- [PATCH for-9.0 10/10] vfio/iommufd: Remove CONFIG_IOMMUFD usage, Cédric Le Goater, 2023/12/08