summary refs log tree commit diff stats
path: root/hw/pci-host/sh_pci.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-02-02 15:49:49 +0300
committerEric Blake <eblake@redhat.com>2021-03-08 15:14:15 -0600
commit775d0c050866c3571b8599291b3ff65fdbd63ed8 (patch)
tree515d5636af68f2d0dbb090b25a043d69b78ec475 /hw/pci-host/sh_pci.c
parenteb5becc18fff6ba43922a169a64029e7e26ef86a (diff)
downloadfocaccia-qemu-775d0c050866c3571b8599291b3ff65fdbd63ed8.tar.gz
focaccia-qemu-775d0c050866c3571b8599291b3ff65fdbd63ed8.zip
blockjob: return status from block_job_set_speed()
Better to return status together with setting errp. It allows to avoid
error propagation in the caller.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-Id: <20210202124956.63146-8-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/pci-host/sh_pci.c')
0 files changed, 0 insertions, 0 deletions