diff options
| author | Greg Kurz <groug@kaod.org> | 2020-08-10 18:54:54 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2020-08-13 21:03:35 +1000 |
| commit | 42a92d925d03ec49dfdefb43c15b46c3ca55f9e4 (patch) | |
| tree | 9a99a2b9b678abf08d6de9422b22dc420cbe8b06 /hw/intc/lm32_pic.c | |
| parent | d55daadcb801f309556fdbab00b2653d20e26603 (diff) | |
| download | focaccia-qemu-42a92d925d03ec49dfdefb43c15b46c3ca55f9e4.tar.gz focaccia-qemu-42a92d925d03ec49dfdefb43c15b46c3ca55f9e4.zip | |
spapr/kvm: Fix error handling in kvmppc_xive_pre_save()
Now that kvmppc_xive_get_queues() returns a negative errno on failure, check with that because it is preferred to local_err. And most of all, propagate it because vmstate expects negative errnos. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159707849455.1489912.6034461176847728064.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/intc/lm32_pic.c')
0 files changed, 0 insertions, 0 deletions