diff options
author | Greg Kurz <groug@kaod.org> | 2019-06-17 15:46:52 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-07-02 09:43:58 +1000 |
commit | ab3d15fa84e49bdb509b7cf9f9c63e78298b2919 (patch) | |
tree | ef41d136e9409639293fa19e802c4f903c5792b0 /accel | |
parent | 64fb96214c4c0f107fa3b53878779217826b8f48 (diff) | |
download | qemu-ab3d15fa84e49bdb509b7cf9f9c63e78298b2919.zip qemu-ab3d15fa84e49bdb509b7cf9f9c63e78298b2919.tar.gz qemu-ab3d15fa84e49bdb509b7cf9f9c63e78298b2919.tar.bz2 |
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 'accel')
0 files changed, 0 insertions, 0 deletions