[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questionable aspects of QEMU Error's design
From: |
Daniel P . Berrangé |
Subject: |
Re: Questionable aspects of QEMU Error's design |
Date: |
Mon, 6 Apr 2020 15:10:19 +0100 |
User-agent: |
Mutt/1.13.3 (2020-01-12) |
On Sat, Apr 04, 2020 at 12:59:27PM +0200, Markus Armbruster wrote:
> Paolo, Daniel, Eduardo,
>
> Please pick one for QOM:
> * Return true on success, false on error. Looks like
>
> if (!object_property_set_bool(..., errp)) {
> return;
> }
My preference is this one, since it aligns with GLib recommendations
for error reporting & is simple & concise.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Re: Questionable aspects of QEMU Error's design, Markus Armbruster, 2020/04/04
Re: Questionable aspects of QEMU Error's design, Markus Armbruster, 2020/04/27