summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGreg Kurz2020-11-21 00:42:05 +0100
committerDavid Gibson2020-12-14 05:50:55 +0100
commitf5598c92b84047c395836985715ff62c856ff2fe (patch)
tree3f32358a549570bba011e6ca634e28da5e6a091f /include
parentspapr: Do NVDIMM/PC-DIMM device hotplug sanity checks at pre-plug only (diff)
downloadqemu-f5598c92b84047c395836985715ff62c856ff2fe.tar.gz
qemu-f5598c92b84047c395836985715ff62c856ff2fe.tar.xz
qemu-f5598c92b84047c395836985715ff62c856ff2fe.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/hw/ppc/spapr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 2e89e36cfb..b7ced9faeb 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -140,7 +140,7 @@ struct SpaprMachineClass {
bool pre_5_1_assoc_refpoints;
bool pre_5_2_numa_associativity;
- void (*phb_placement)(SpaprMachineState *spapr, uint32_t index,
+ bool (*phb_placement)(SpaprMachineState *spapr, uint32_t index,
uint64_t *buid, hwaddr *pio,
hwaddr *mmio32, hwaddr *mmio64,
unsigned n_dma, uint32_t *liobns, hwaddr *nv2gpa,