spapr_drc: Handle visitor errors properly
commitc75304a13906e2a91752a12ef90e31ab18467453
authorMarkus Armbruster <armbru@redhat.com>
Thu, 3 Dec 2015 16:37:38 +0000 (3 17:37 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 3 Dec 2015 23:56:29 +0000 (4 10:56 +1100)
tree67d66f58a284becdf5ecef5b1276dd4721f2c7dc
parent4c65fed8bdf96780735dbdb92a8bd0d6b6526cc3
spapr_drc: Handle visitor errors properly

Since prop_get_fdt() is only used with QmpOutputVisitor, errors
shouldn't actually happen, so this is only a latent bug.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr_drc.c