qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/ppc/Kconfig: Imply VFIO_PCI


From: Cédric Le Goater
Subject: Re: [PATCH] hw/ppc/Kconfig: Imply VFIO_PCI
Date: Tue, 28 Nov 2023 18:11:05 +0100
User-agent: Mozilla Thunderbird

On 11/24/23 09:06, Cédric Le Goater wrote:
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.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


Applied to vfio-next.

Thanks,

C.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]