summaryrefslogtreecommitdiffstats
path: root/hw/core/null-machine.c
diff options
context:
space:
mode:
authorGreg Kurz2020-08-10 18:54:12 +0200
committerDavid Gibson2020-08-13 13:00:52 +0200
commit46407a2531da4ff206c1aefe8c3f6d8ad53f2de4 (patch)
tree21cad31da6b38922e49df416fa75cfd1e4afdd64 /hw/core/null-machine.c
parentspapr/xive: Rework error handling of kvmppc_xive_cpu_connect() (diff)
downloadqemu-46407a2531da4ff206c1aefe8c3f6d8ad53f2de4.tar.gz
qemu-46407a2531da4ff206c1aefe8c3f6d8ad53f2de4.tar.xz
qemu-46407a2531da4ff206c1aefe8c3f6d8ad53f2de4.zip
spapr/xive: Rework error handling of kvmppc_xive_source_reset()
Since kvmppc_xive_source_reset_one() has a return value, convert kvmppc_xive_source_reset() to use it for error checking. This allows to get rid of the local_err boiler plate. Propagate the return value so that callers may use it as well to check failures. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159707845245.1489912.9151822670764690034.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/core/null-machine.c')
0 files changed, 0 insertions, 0 deletions