aboutsummaryrefslogtreecommitdiff
path: root/softmmu/icount.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2020-09-14 14:34:57 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2020-10-09 10:15:06 +1100
commita9c2cdace0a9f42d4a2b1b230baab96819b79641 (patch)
treea4e629381de6724bffc054f79b3baea76bda60e7 /softmmu/icount.c
parent7e92da81be377a604f4ace7551ce61dd51afbbaa (diff)
downloadqemu-a9c2cdace0a9f42d4a2b1b230baab96819b79641.zip
qemu-a9c2cdace0a9f42d4a2b1b230baab96819b79641.tar.gz
qemu-a9c2cdace0a9f42d4a2b1b230baab96819b79641.tar.bz2
spapr: Simplify error handling in spapr_vio_busdev_realize()
Use the return value of spapr_irq_findone() and spapr_irq_claim() to detect failures. This allows to reduce the error propagation overhead. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <20200914123505.612812-8-groug@kaod.org> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'softmmu/icount.c')
0 files changed, 0 insertions, 0 deletions