qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 01/12] qapi: add size parser to StringInputVisit


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 01/12] qapi: add size parser to StringInputVisitor
Date: Wed, 05 Feb 2014 10:30:47 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 02/05/2014 10:18 AM, Paolo Bonzini wrote:
> Il 05/02/2014 18:13, Andreas Färber ha scritto:
>> > +        error_set(errp, QERR_INVALID_PARAMETER_TYPE, name ? name :
>> "null",
>> > +                  "size");
>>
>> error_setg()?
> 
> We're still using error_set for existing errors.  In this case, the code
> is taken from qdev-properties.c.

error_setg uses the generic category, but here, we specifically want the
INVALID_PARAMETER_TYPE category.

-- 
Eric Blake   eblake redhat com    +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]