Re: [Qemu-devel] [RFC PATCH 2/7] error reporting: Provide error_report_errno (and error_vreport_errno)

2018-04-26 Thread Eric Blake
On 04/26/2018 11:53 AM, Ian Jackson wrote: > This will let us replace a lot of open coded calls to perror, > strerror, etc. > > No callers yet so no functional change. > > Signed-off-by: Ian Jackson > --- > include/qemu/error-report.h | 2 ++ > util/qemu-error.c | 28

[Qemu-devel] [RFC PATCH 2/7] error reporting: Provide error_report_errno (and error_vreport_errno)

2018-04-26 Thread Ian Jackson
This will let us replace a lot of open coded calls to perror, strerror, etc. No callers yet so no functional change. Signed-off-by: Ian Jackson --- include/qemu/error-report.h | 2 ++ util/qemu-error.c | 28 2 files changed, 30 insertions(+) diff --git a