spapr_pci: use the common _FDT() helper
commit99372e785efe9fe6a4e30cab4e33b79b227dc28d
authorGreg Kurz <groug@kaod.org>
Sat, 9 Sep 2017 15:06:25 +0000 (9 17:06 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 15 Sep 2017 00:29:48 +0000 (15 10:29 +1000)
tree6feb085c3ea1fb269258dc20e124b582b9e51c7b
parent30bf9ed1684da582e47ae004f8f3cf14fd6f39dd
spapr_pci: use the common _FDT() helper

All other users in hw/ppc already consider an error when building
the FDT to be fatal, even on hotplug paths. There's no valid reason
for spapr_pci to behave differently. So let's used the common _FDT()
helper which terminates QEMU when libfdt fails.

Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_pci.c