Re: [Qemu-devel] [RFC PATCH v1 05/25] error: Add error prefix API

2015-09-11 Thread Eric Blake
On 09/10/2015 11:33 PM, Peter Crosthwaite wrote: > Add an API to prefix an already set error with a caller-centric > message. > > If multiple errors are set, all are prefixed individually. > Might be nice to rebase your series to add this first, prior to multi-error support. (That is, while pre

[Qemu-devel] [RFC PATCH v1 05/25] error: Add error prefix API

2015-09-10 Thread Peter Crosthwaite
Add an API to prefix an already set error with a caller-centric message. If multiple errors are set, all are prefixed individually. Signed-off-by: Peter Crosthwaite --- include/qapi/error.h | 6 ++ util/error.c | 26 ++ 2 files changed, 32 insertions(+) di