diff options
author | Greg Kurz | 2020-08-10 18:55:29 +0200 |
---|---|---|
committer | David Gibson | 2020-08-13 13:09:38 +0200 |
commit | 1118b6b72719ff83f2be1efc11d7248cf225074c (patch) | |
tree | 9733f582822bb3de833e38ee65cba36ca4503d2d /hw/virtio/vhost-vsock-pci.c | |
parent | ppc/xive: Simplify error handling in xive_tctx_realize() (diff) | |
download | qemu-1118b6b72719ff83f2be1efc11d7248cf225074c.tar.gz qemu-1118b6b72719ff83f2be1efc11d7248cf225074c.tar.xz qemu-1118b6b72719ff83f2be1efc11d7248cf225074c.zip |
spapr/xive: Simplify error handling of kvmppc_xive_cpu_synchronize_state()
Now that kvmppc_xive_cpu_get_state() returns negative on error, use that
and get rid of the temporary Error object and error_propagate().
Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <159707852916.1489912.8376334685349668124.stgit@bahia.lan>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/virtio/vhost-vsock-pci.c')
0 files changed, 0 insertions, 0 deletions