summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr.h
diff options
context:
space:
mode:
authorGreg Kurz2020-09-14 14:35:02 +0200
committerDavid Gibson2020-10-09 01:15:06 +0200
commit451c6905899da0cdcd23bffef93504f93fd48d5e (patch)
tree3618e54756735c25635e503fb5b06475097ec7e6 /include/hw/ppc/spapr.h
parentspapr: Simplify error handling in spapr_cpu_core_realize() (diff)
downloadqemu-451c6905899da0cdcd23bffef93504f93fd48d5e.tar.gz
qemu-451c6905899da0cdcd23bffef93504f93fd48d5e.tar.xz
qemu-451c6905899da0cdcd23bffef93504f93fd48d5e.zip
spapr: Add a return value to spapr_nvdimm_validate()
As recommended in "qapi/error.h", return true on success and false on failure. This allows to reduce error propagation overhead in the callers. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <20200914123505.612812-13-groug@kaod.org> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions