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
signature.asc
Description: OpenPGP digital signature