diff options
| author | Greg Kurz <groug@kaod.org> | 2020-08-10 18:54:26 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2020-08-13 21:00:52 +1000 |
| commit | 5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c (patch) | |
| tree | 281e004db0f1997d2b703f1e2f8ed3f68fc0f842 /hw/intc/lm32_pic.c | |
| parent | b14adb4a27c80a255fb35451d7cb2bc70743e7f4 (diff) | |
| download | focaccia-qemu-5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c.tar.gz focaccia-qemu-5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c.zip | |
spapr/xive: Rework error handling of kvmppc_xive_cpu_[gs]et_state()
kvm_set_one_reg() returns a negative errno on failure, use that instead of errno. Also propagate it to callers so they can use it to check for failures and hopefully get rid of their local_err boilerplate. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <159707846665.1489912.14267225652103441921.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