qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 03/14] qerror: drop qerror_abort()


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 03/14] qerror: drop qerror_abort()
Date: Thu, 26 Jul 2012 06:59:18 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 07/25/2012 02:50 PM, Luiz Capitulino wrote:
> Previously, developers had to create error dicts manually and also enter
> the matching desc table entry. Thus, qerro_abort() was added to help

s/qerro_/qerror_/

> catching bad error dicts.
> 
> Today, all that stuff is generated automatically which makes the chance
> of a bad generated dict quite low.
> 
> Also, qerror_abort() would... _abort_ on a bad error dict!
> 
> This commit maintains the same verification logic on the error object
> but drops the abort() in favor of reporting UndefinedError for bad dicts
> (and also print a debug message to stderr).
> 
> Signed-off-by: Luiz Capitulino <address@hidden>
> ---

-- 
Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]