spapr: Abort on delete failure in spapr_drc_release()
commitba50822ff835c197563423b688afc6d0fe50f7d0
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 13 Jul 2017 00:52:39 +0000 (13 10:52 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 17 Jul 2017 05:07:05 +0000 (17 15:07 +1000)
treedb49ff48c6290ae9bab6236a3741560f93b89af8
parent765d1bdda5282cb38445c6dd82fa8aa0802cc904
spapr: Abort on delete failure in spapr_drc_release()

We currently ignore errors from the object_property_del() in
spapr_drc_release().  But the only way that could fail is if the property
doesn't exist, in which case it's a bug that we're in spapr_drc_release()
at all.  So change from ignoring to abort()ing on errors.

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