Re: [Qemu-devel] [RFC PATCH v1 06/25] error: Add error_printf_fn()

2015-09-11 Thread Eric Blake
On 09/10/2015 11:33 PM, Peter Crosthwaite wrote: > Add an API to report an error with a custom printf function. Use > this for the implementation of error_report_err(). > > Signed-off-by: Peter Crosthwaite > --- > > include/qapi/error.h | 7 +++ > util/error.c | 22

[Qemu-devel] [RFC PATCH v1 06/25] error: Add error_printf_fn()

2015-09-10 Thread Peter Crosthwaite
Add an API to report an error with a custom printf function. Use this for the implementation of error_report_err(). Signed-off-by: Peter Crosthwaite --- include/qapi/error.h | 7 +++ util/error.c | 22 -- 2 files changed, 27 insertions(+), 2 deletions(-) diff -