|
From: | Ján Tomko |
Subject: | Re: [PATCH v2] Report stringified errno in VFIO related errors |
Date: | Fri, 14 Feb 2020 11:04:32 +0100 |
On Fri, Feb 14, 2020 at 10:55:19AM +0100, Michal Privoznik wrote:
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 <address@hidden> --- v1 posted here: https://lists.nongnu.org/archive/html/qemu-devel/2020-02/msg03623.html diff to v1: - Change error reporting in vfio_dma_unmap() too as I missed it in v1. hw/vfio/common.c | 4 ++-- util/vfio-helpers.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko <address@hidden> Jano
signature.asc
Description: PGP signature
[Prev in Thread] | Current Thread | [Next in Thread] |