]> git.ipfire.org Git - thirdparty/qemu.git/commit
spapr_pci: Define SPAPR_MAX_PHBS in hw/pci-host/spapr.h
authorGreg Kurz <groug@kaod.org>
Fri, 21 Dec 2018 00:36:53 +0000 (01:36 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:14 +0000 (09:28 +1100)
commit1da85c2ae691d5afae106feb419720838a693aac
tree7c23ffa83955484aa0c38dc6fb15132bbee201b1
parentc13ee169115a4ad950e765e1bb5b9e6968aa8dfd
spapr_pci: Define SPAPR_MAX_PHBS in hw/pci-host/spapr.h

PHB hotplug will bring more users for it. Let's define it along with
the PHB defines from which it is derived for simplicity.

While here fix a misleading comment about manual placement, which was
abandoned with 30b3bc5aa9f4.

Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
include/hw/pci-host/spapr.h