]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_pci: Fix extended config space accesses
authorGreg Kurz <groug@kaod.org>
Mon, 1 Apr 2019 17:55:08 +0000 (19:55 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 9 Apr 2019 05:03:10 +0000 (15:03 +1000)
commit5cf0d326a0fec9ebac2d47c42b5f08e6bc2f686c
tree89083e2522fb38fe4433242adc3c6e8775f56e1d
parent1c685a9026349752c3627aa24b090973e35b83c3
spapr_pci: Fix extended config space accesses

The PAPR PHB acts as a legacy PCI bus but it allows PCIe extended
config space accesses anyway (for pseries-2.9 and newer machine
types).

Introduce a specific PCI bus subtype to inform the common PCI code
about that.

Fixes: c2077e2ca0da7
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <155414130834.574858.16502276132110219890.stgit@bahia.lan>
[dwg: Apply fix so we don't rename the default pci bus, breaking everything]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c