summary refs log tree commit diff stats
path: root/hw/intc/xics.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-06-17 15:46:52 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2019-07-02 09:43:58 +1000
commitab3d15fa84e49bdb509b7cf9f9c63e78298b2919 (patch)
treeef41d136e9409639293fa19e802c4f903c5792b0 /hw/intc/xics.c
parent64fb96214c4c0f107fa3b53878779217826b8f48 (diff)
downloadfocaccia-qemu-ab3d15fa84e49bdb509b7cf9f9c63e78298b2919.tar.gz
focaccia-qemu-ab3d15fa84e49bdb509b7cf9f9c63e78298b2919.zip
xics/kvm: Always use local_err in xics_kvm_init()
Passing both errp and &local_err to functions is a recipe for messing
things up.

Since we must use &local_err for icp_kvm_realize(), use &local_err
everywhere where rollback must happen and have a single call to
error_propagate() them all. While here, add errno to the error
message.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <156077921212.433243.11716701611944816815.stgit@bahia.lan>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/xics.c')
0 files changed, 0 insertions, 0 deletions