By inlinining the stubs we can avoid the use of target-specific CONFIG_DEVICES include in a hw/ header, allowing to build the source files including it as common objects.
Philippe Mathieu-Daudé (3): hw/arm/smmuv3: Avoid including CONFIG_DEVICES in hw/ header hw/i386/intel_iommu: Avoid including CONFIG_DEVICES in hw/ header hw/s390x/s390-pci-vfio: Avoid including CONFIG_DEVICES in hw/ header hw/arm/smmuv3-accel.h | 35 ------------------------ hw/i386/intel_iommu_accel.h | 35 ++---------------------- include/hw/s390x/s390-pci-vfio.h | 20 -------------- hw/arm/smmuv3-accel-stubs.c | 44 +++++++++++++++++++++++++++++++ hw/i386/intel_iommu_accel-stubs.c | 37 ++++++++++++++++++++++++++ hw/s390x/s390-pci-vfio-stubs.c | 32 ++++++++++++++++++++++ hw/arm/meson.build | 5 ++-- hw/i386/meson.build | 1 + hw/s390x/meson.build | 1 + 9 files changed, 120 insertions(+), 90 deletions(-) create mode 100644 hw/arm/smmuv3-accel-stubs.c create mode 100644 hw/i386/intel_iommu_accel-stubs.c create mode 100644 hw/s390x/s390-pci-vfio-stubs.c -- 2.52.0
