Files
qemu/hw
Greg Kurz f9a548edf2 spapr/xive: Rework error handling of kvmppc_xive_[gs]et_queue_config()
Since kvm_device_access() returns a negative errno on failure, convert
kvmppc_xive_get_queue_config() and kvmppc_xive_set_queue_config() to
use it for error checking. This allows to get rid of the local_err
boilerplate.

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: <159707847357.1489912.2032291280645236480.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-08-13 21:00:52 +10:00
..
2020-07-10 15:18:09 +02:00
2020-05-15 07:08:14 +02:00
2020-07-17 11:39:46 -05:00
2020-07-10 15:18:09 +02:00
2020-07-03 16:59:44 +01:00
2020-07-16 10:20:12 +02:00
2020-07-07 15:33:59 +02:00