summaryrefslogtreecommitdiff
path: root/hw/ppc/ppce500_spin.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-09-14 14:35:00 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-10-09 10:15:06 +1100
commitcfdc52747390af88086094e51ddc7f8fbeea330e (patch)
tree875d5bd08e648b6d1c91d9478074fe624f014550 /hw/ppc/ppce500_spin.c
parentebd226d221c4ef8192fc5b148e0aece07bd302d1 (diff)
downloadqemu-cfdc52747390af88086094e51ddc7f8fbeea330e.zip
spapr: Add a return value to spapr_set_vcpu_id()
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-11-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 'hw/ppc/ppce500_spin.c')
0 files changed, 0 insertions, 0 deletions