Add the INTEL_IGD_PASSTHROUGH Kconfig option. Since it is implied by the PCI_I440FX option, this does not change the default selection. However users are now able to deselelect it.
Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> --- hw/pci-host/Kconfig | 4 ++++ hw/pci-host/Makefile.objs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/hw/pci-host/Kconfig b/hw/pci-host/Kconfig index b0aa8351c4..8c88a7b9dd 100644 --- a/hw/pci-host/Kconfig +++ b/hw/pci-host/Kconfig @@ -1,6 +1,9 @@ config PAM bool +config INTEL_IGD_PASSTHROUGH + bool + config PREP_PCI bool select PCI @@ -32,6 +35,7 @@ config PCI_I440FX bool select PCI select PAM + imply INTEL_IGD_PASSTHROUGH config PCI_EXPRESS_Q35 bool diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs index 5affd21899..9dbd0f9042 100644 --- a/hw/pci-host/Makefile.objs +++ b/hw/pci-host/Makefile.objs @@ -14,7 +14,7 @@ common-obj-$(CONFIG_VERSATILE_PCI) += versatile.o common-obj-$(CONFIG_PCI_SABRE) += sabre.o common-obj-$(CONFIG_FULONG) += bonito.o common-obj-$(CONFIG_PCI_I440FX) += i440fx.o -common-obj-$(CONFIG_PCI_I440FX) += igd_pt.o +common-obj-$(CONFIG_INTEL_IGD_PASSTHROUGH) += igd_pt.o common-obj-$(CONFIG_PCI_EXPRESS_Q35) += q35.o common-obj-$(CONFIG_PCI_EXPRESS_GENERIC_BRIDGE) += gpex.o common-obj-$(CONFIG_PCI_EXPRESS_XILINX) += xilinx-pcie.o -- 2.21.0