diff options
author | Greg Kurz | 2020-08-10 18:54:26 +0200 |
---|---|---|
committer | David Gibson | 2020-08-13 13:00:52 +0200 |
commit | 5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c (patch) | |
tree | 281e004db0f1997d2b703f1e2f8ed3f68fc0f842 /hw/xen | |
parent | spapr/xive: Rework error handling of kvmppc_xive_mmap() (diff) | |
download | qemu-5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c.tar.gz qemu-5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c.tar.xz 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/xen')
0 files changed, 0 insertions, 0 deletions