spapr: enable PHB hotplug for default pseries machine type
commitdae5e39adae897e859685975afc1d2c0ade38505
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 19 Feb 2019 17:18:54 +0000 (19 18:18 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 25 Feb 2019 22:21:25 +0000 (26 09:21 +1100)
treeb1e9fbab01a0507afa7c5da84f187bcbccb4ea5e
parentbb2bdd812ee9a9a38007b95c3967c528e552912c
spapr: enable PHB hotplug for default pseries machine type

The 'dr_phb_enabled' field of that class can be set as part of
machine-specific init code. It will be used to conditionally
enable creation of DRC objects and device-tree description to
facilitate hotplug of PHBs.

Since we can't migrate this state to older machine types,
default the option to true and disable it for older machine
types.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Message-Id: <155059673433.1466090.6188091133769611501.stgit@bahia.lab.toulouse-stg.fr.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c