aboutsummaryrefslogtreecommitdiff
path: root/scripts/dump-guest-memory.py
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-10-16 13:51:54 +0200
committerCornelia Huck <cohuck@redhat.com>2018-11-05 09:55:01 +0100
commitab17b1fc75d9b961bf88a109b74069a383eba49f (patch)
treeaee4f4503a70f48c438762428f73bfa4fcbd3985 /scripts/dump-guest-memory.py
parent7d56239f159afc2e7bd42623947e56ba48f37836 (diff)
downloadqemu-ab17b1fc75d9b961bf88a109b74069a383eba49f.zip
qemu-ab17b1fc75d9b961bf88a109b74069a383eba49f.tar.gz
qemu-ab17b1fc75d9b961bf88a109b74069a383eba49f.tar.bz2
s390x/vfio-ap: report correct error
If ioctl(..., VFIO_DEVICE_RESET) fails, we want to report errno instead of ret (which is always -1 on error). Fixes Coverity issue CID 1396176. Reported-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'scripts/dump-guest-memory.py')
0 files changed, 0 insertions, 0 deletions