Re: [Qemu-devel] [RFC PATCH v1 04/25] error: Add support for multiple errors

2015-09-11 Thread Eric Blake
On 09/10/2015 11:33 PM, Peter Crosthwaite wrote: > Allow errors to stack. If an error is already set, don't assert, > instead, form a linked list. Recent errors are at the front of the > list, older ones at the back. > > The assertion against the destination erro already being set is s/erro/error

[Qemu-devel] [RFC PATCH v1 04/25] error: Add support for multiple errors

2015-09-10 Thread Peter Crosthwaite
Allow errors to stack. If an error is already set, don't assert, instead, form a linked list. Recent errors are at the front of the list, older ones at the back. The assertion against the destination erro already being set is removed. copy/free are all to call their functionality recursively. Pr