diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2020-02-14 10:55:19 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-02-18 20:20:49 +0100 |
commit | b09d51c9098adec9c83cc0d8332d03e052844a9f (patch) | |
tree | b70d6f40424e79deecd5690822902c4d254e90f4 /job-qmp.c | |
parent | 4065bb25e95f7059b250ed8194a46bced9a7602b (diff) |
Report stringified errno in VFIO related errors
In a few places we report errno formatted as a negative integer.
This is not as user friendly as it can be. Use strerror() and/or
error_setg_errno() instead.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Message-Id: <4949c3ecf1a32189b8a4b5eb4b0fd04c1122501d.1581674006.git.mprivozn@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'job-qmp.c')
0 files changed, 0 insertions, 0 deletions