diff options
author | Greg Kurz <groug@kaod.org> | 2020-09-14 14:34:57 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2020-10-09 10:15:06 +1100 |
commit | a9c2cdace0a9f42d4a2b1b230baab96819b79641 (patch) | |
tree | a4e629381de6724bffc054f79b3baea76bda60e7 /gdb-xml/s390-acr.xml | |
parent | 7e92da81be377a604f4ace7551ce61dd51afbbaa (diff) | |
download | qemu-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 'gdb-xml/s390-acr.xml')
0 files changed, 0 insertions, 0 deletions