diff options
| author | Cédric Le Goater <clg@redhat.com> | 2023-11-21 15:03:55 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2023-12-19 19:03:38 +0100 |
| commit | 4278df9d1d2383b738338c857406357660f11e42 (patch) | |
| tree | e5af65ff04d761a2f390540471373f47e8ffe54b /hw/vfio/platform.c | |
| parent | 98dad2b01931f6064c6c4b48ca3c2a1d9f542cd8 (diff) | |
| download | focaccia-qemu-4278df9d1d2383b738338c857406357660f11e42.tar.gz focaccia-qemu-4278df9d1d2383b738338c857406357660f11e42.zip | |
hw/ppc/Kconfig: Imply VFIO_PCI
When the legacy and iommufd backends were introduced, a set of common vfio-pci routines were exported in pci.c for both backends to use : vfio_pci_pre_reset vfio_pci_get_pci_hot_reset_info vfio_pci_host_match vfio_pci_post_reset This introduced a build failure on PPC when --without-default-devices is use because VFIO is always selected in ppc/Kconfig but VFIO_PCI is not. Use an 'imply VFIO_PCI' in ppc/Kconfig and bypass compilation of the VFIO EEH hooks routines defined in hw/ppc/spapr_pci_vfio.c with CONFIG_VFIO_PCI. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/platform.c')
0 files changed, 0 insertions, 0 deletions