spapr: Allow dynamic creation of PHB
commit9e3f973335afb3d5758aeebeb3ad478427d79bd4
authorAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:22:54 +0000 (4 23:22 +0100)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Nov 2014 22:26:15 +0000 (4 23:26 +0100)
treea33f71f2455853d6f9d55d7945551c9ace7e5aa9
parentabe60a439b760c749201b6b9956968d6f030ebd7
spapr: Allow dynamic creation of PHB

Now that we finally check for presence of dangling sysbus devices, make check
started complaining that the sPAPR PHB is one such device.

However, it really isn't. The spapr PHB is not really a traditional sysbus
device, but much more a special spapr pv device which is already able to get
created dynamically.

Move spapr to its own dynamic sysbus check handling and allow PHB devices to
get allocated dynamically.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/spapr.c