Hi, This is v3 of PCI clenaup series. See each patch for the detail.
Regards, Hu changes: v3: - rebase on top of 7fb8da2b886, all 5 patches applied cleanly. - new patch: pci: introduce PCI_DEVFN_AUTO v2: - remove patch 3 from v1 which is incorrect. - rename defined macros as per Marcel's suggestion - place macros in pci_host.h as per Marcel's suggestion - new patch 'pci: reorganize QEMU_PCI_CAP_*' Hu Tao (6): pci: reorganize QEMU_PCI_CAP_* pci: introduce pci_host_config_enabled() pci: define PCI_HOST_BRIDGE_CONFIG_ADDR and PCI_HOST_BRIDGE_CONFIG_DATA. pci: remove the limit parameter of pci_host_config_read_common pci: remove the limit parameter of pci_host_config_write_common pci: introduce PCI_DEVFN_AUTO hw/core/qdev-properties.c | 1 + hw/mips/gt64xxx_pci.c | 4 ++-- hw/pci-host/piix.c | 8 ++++---- hw/pci-host/prep.c | 6 ++++-- hw/pci-host/q35.c | 8 ++++---- hw/pci/pci.c | 5 ++--- hw/pci/pci_host.c | 33 ++++++++++++++++++++++++--------- hw/pci/pcie_host.c | 18 ++---------------- hw/ppc/spapr_pci.c | 6 ++---- include/hw/pci-host/q35.h | 3 --- include/hw/pci/pci.h | 41 ++++++++++++++++++++++------------------- include/hw/pci/pci_host.h | 14 ++++++++++++-- tests/libqos/pci-pc.c | 25 +++++++++++++------------ 13 files changed, 92 insertions(+), 80 deletions(-) -- 1.9.3