summaryrefslogtreecommitdiffstats
path: root/hw/xen
diff options
context:
space:
mode:
authorGreg Kurz2020-08-10 18:54:26 +0200
committerDavid Gibson2020-08-13 13:00:52 +0200
commit5fa36b7ffbcb2056249929a7b1ee4e30c07dc67c (patch)
tree281e004db0f1997d2b703f1e2f8ed3f68fc0f842 /hw/xen
parentspapr/xive: Rework error handling of kvmppc_xive_mmap() (diff)
downloadqemu-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