qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

hw/pci/Makefile.objs: make pcie configurable

Make pcie splited from pci and make it configurable.

Signed-off-by: Yang Zhong <yang.zhong@intel.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190123065618.3520-30-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

authored by

Yang Zhong and committed by
Paolo Bonzini
e9947d18 8f01b41e

+17 -2
+1
default-configs/arm-softmmu.mak
··· 124 124 CONFIG_VERSATILE_PCI=y 125 125 CONFIG_VERSATILE_I2C=y 126 126 127 + CONFIG_PCI_EXPRESS=y 127 128 CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y 128 129 CONFIG_VFIO_XGMAC=y 129 130 CONFIG_VFIO_AMD_XGBE=y
+1
default-configs/i386-softmmu.mak
··· 45 45 CONFIG_VMPORT=y 46 46 CONFIG_SGA=y 47 47 CONFIG_LPC_ICH9=y 48 + CONFIG_PCI_EXPRESS=y 48 49 CONFIG_PCI_EXPRESS_Q35=y 49 50 CONFIG_APIC=y 50 51 CONFIG_IOAPIC=y
+1
default-configs/mips64el-softmmu.mak
··· 12 12 CONFIG_VT82C686=y 13 13 CONFIG_MIPS_BOSTON=y 14 14 CONFIG_FITLOADER=y 15 + CONFIG_PCI_EXPRESS=y 15 16 CONFIG_PCI_EXPRESS_XILINX=y
+1
default-configs/ppc-softmmu.mak
··· 24 24 CONFIG_PPC405=y 25 25 CONFIG_PPC440=y 26 26 CONFIG_VIRTEX=y 27 + CONFIG_PCI_EXPRESS=y 27 28 28 29 # For Sam460ex 29 30 CONFIG_SAM460EX=y
+1
default-configs/riscv32-softmmu.mak
··· 8 8 9 9 CONFIG_CADENCE=y 10 10 11 + CONFIG_PCI_EXPRESS=y 11 12 CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y 12 13 13 14 CONFIG_VGA=y
+1
default-configs/riscv64-softmmu.mak
··· 8 8 9 9 CONFIG_CADENCE=y 10 10 11 + CONFIG_PCI_EXPRESS=y 11 12 CONFIG_PCI_EXPRESS_GENERIC_BRIDGE=y 12 13 13 14 CONFIG_VGA=y
+4
hw/pci/Kconfig
··· 1 1 config PCI 2 2 bool 3 + 4 + config PCI_EXPRESS 5 + bool 6 + select PCI
+7 -2
hw/pci/Makefile.objs
··· 2 2 common-obj-$(CONFIG_PCI) += msix.o msi.o 3 3 common-obj-$(CONFIG_PCI) += shpc.o 4 4 common-obj-$(CONFIG_PCI) += slotid_cap.o 5 - common-obj-$(CONFIG_PCI) += pci_host.o pcie_host.o 6 - common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o pcie_port.o 5 + common-obj-$(CONFIG_PCI) += pci_host.o 6 + 7 + # The functions in these modules can be used by devices too. Since we 8 + # allow plugging PCIe devices into PCI buses, include them even if 9 + # CONFIG_PCI_EXPRESS=n. 10 + common-obj-$(CONFIG_PCI) += pcie.o pcie_aer.o 11 + common-obj-$(CONFIG_PCI_EXPRESS) += pcie_port.o pcie_host.o 7 12 8 13 common-obj-$(call lnot,$(CONFIG_PCI)) += pci-stub.o 9 14 common-obj-$(CONFIG_ALL) += pci-stub.o