spapr: Make PHB placement functions and spapr_pre_plug_phb() return status
commitf5598c92b84047c395836985715ff62c856ff2fe
authorGreg Kurz <groug@kaod.org>
Fri, 20 Nov 2020 23:42:05 +0000 (21 00:42 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 14 Dec 2020 04:50:55 +0000 (14 15:50 +1100)
tree3f32358a549570bba011e6ca634e28da5e6a091f
parentea042c53f4d9e48e7b3c84f5d0eb70a84aa34413
spapr: Make PHB placement functions and spapr_pre_plug_phb() return status

Read documentation in "qapi/error.h" and changelog of commit
e3fe3988d785 ("error: Document Error API usage rules") for
rationale.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <20201120234208.683521-7-groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c
include/hw/ppc/spapr.h