Peter Crosthwaite writes:
> On Fri, Dec 6, 2013 at 9:59 PM, Markus Armbruster wrote:
>> Eric Blake writes:
>>
>>> On 12/05/2013 03:13 AM, Markus Armbruster wrote:
>>>
>
> For error_propagate, if the destination error is &error_abort, then
> the abort happens at propagation time.
>>>
On Fri, Dec 6, 2013 at 9:59 PM, Markus Armbruster wrote:
> Eric Blake writes:
>
>> On 12/05/2013 03:13 AM, Markus Armbruster wrote:
>>
For error_propagate, if the destination error is &error_abort, then
the abort happens at propagation time.
Signed-off-by: Peter Crosthwai
Eric Blake writes:
> On 12/05/2013 03:13 AM, Markus Armbruster wrote:
>
>>>
>>> For error_propagate, if the destination error is &error_abort, then
>>> the abort happens at propagation time.
>>>
>>> Signed-off-by: Peter Crosthwaite
>>> ---
>>> changed since v1:
>>> Delayed assertions that *errp
On 12/05/2013 03:13 AM, Markus Armbruster wrote:
>>
>> For error_propagate, if the destination error is &error_abort, then
>> the abort happens at propagation time.
>>
>> Signed-off-by: Peter Crosthwaite
>> ---
>> changed since v1:
>> Delayed assertions that *errp == NULL.
>
> Care to explain wh
Peter Crosthwaite writes:
> Add a special Error * that can be passed to error handling APIs to
> signal that any errors are fatal and should abort QEMU. There are two
> advantages to this:
>
> - allows for brevity when wishing to assert success of Error **
> accepting APIs. No need for this pat
Add a special Error * that can be passed to error handling APIs to
signal that any errors are fatal and should abort QEMU. There are two
advantages to this:
- allows for brevity when wishing to assert success of Error **
accepting APIs. No need for this pattern:
Error * local_err = NULL;