Re: [Qemu-devel] [RFC PATCH 5/7] error reporting: Provide error_report_errnoval (and error_vreport_errnoval)

2018-04-26 Thread Ian Jackson
Eric Blake writes ("Re: [RFC PATCH 5/7] error reporting: Provide error_report_errnoval (and error_vreport_errnoval)"): > On 04/26/2018 11:53 AM, Ian Jackson wrote: > > I have chosen to provide all of > >error_report_errno error_vreport_errno > >error_report_errnovalerror_vreport_

Re: [Qemu-devel] [RFC PATCH 5/7] error reporting: Provide error_report_errnoval (and error_vreport_errnoval)

2018-04-26 Thread Eric Blake
On 04/26/2018 11:53 AM, Ian Jackson wrote: > This will let us replace more open coded calls to error_report and > strerror. > > I have chosen to provide all of >error_report_errno error_vreport_errno >error_report_errnovalerror_vreport_errnoval > because the former are much more

[Qemu-devel] [RFC PATCH 5/7] error reporting: Provide error_report_errnoval (and error_vreport_errnoval)

2018-04-26 Thread Ian Jackson
This will let us replace more open coded calls to error_report and strerror. I have chosen to provide all of error_report_errno error_vreport_errno error_report_errnovalerror_vreport_errnoval because the former are much more common, and deserve a short spelling; whereas there are s