From: Markus Armbruster <armbru@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Li Qiang" <liq3ea@gmail.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] util: check the return value of fcntl in qemu_set_{block, noblock}
Date: Thu, 13 Dec 2018 15:43:51 +0100 [thread overview]
Message-ID: <87va3xo5aw.fsf@dusky.pond.sub.org> (raw)
In-Reply-To: <20181213123908.GI5171@redhat.com> ("Daniel P. Berrangé"'s message of "Thu, 13 Dec 2018 12:39:08 +0000")
Daniel P. Berrangé <berrange@redhat.com> writes:
[...]
> Honestly I'd probably prefer these methods to take an "Error **errp"
> and propagate to the caller but that's alot more work.
I'd rather return 0 on success, -errno on failure in these cases.
prev parent reply other threads:[~2018-12-13 14:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-13 2:09 [Qemu-devel] [PATCH] util: check the return value of fcntl in qemu_set_{block, noblock} Li Qiang
2018-12-13 6:57 ` no-reply
2018-12-13 9:31 ` Peter Maydell
2018-12-13 9:56 ` Li Qiang
2018-12-13 10:17 ` Daniel P. Berrangé
2018-12-13 10:38 ` Li Qiang
2018-12-13 10:19 ` Daniel P. Berrangé
2018-12-13 11:27 ` Peter Maydell
2018-12-13 12:28 ` Markus Armbruster
2018-12-13 12:39 ` Daniel P. Berrangé
2018-12-13 12:54 ` Peter Maydell
2018-12-13 14:40 ` Markus Armbruster
2018-12-13 14:43 ` Markus Armbruster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87va3xo5aw.fsf@dusky.pond.sub.org \
--to=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=liq3ea@gmail.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.