From: Jeff Cody <jcody@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com,
lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2] block: do_commit() does not pass along error messages for all errors
Date: Fri, 18 Jan 2013 12:47:59 -0500 [thread overview]
Message-ID: <20130118174759.GA11533@localhost.localdomain> (raw)
In-Reply-To: <87libqquv6.fsf@blackfin.pond.sub.org>
On Fri, Jan 18, 2013 at 06:11:25PM +0100, Markus Armbruster wrote:
> Jeff Cody <jcody@redhat.com> writes:
>
> > The non-live bdrv_commit() function may return one of the following
> > errors: -ENOTSUP, -EBUSY, -EACCES, -EIO. The only error that is
> > checked in the HMP handler is -EBUSY, so the monitor command 'commit'
> > silently fails for all error cases other than 'Device is in use'.
> > Return error using monitor_printf() and strerror(), and covert existing
>
> s/covert/convert/
>
> Suggest "Report error".
>
> In the same vein, subject could be
>
> block: Monitor command commit neglects to report some errors
>
> > qerror_report() calls in do_commit() to use monitor_printf().
>
> Patch looks good to me.
Thanks - I went ahead and submitted a v3 with the proposed commit
message changes.
Thanks,
Jeff
prev parent reply other threads:[~2013-01-18 17:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-18 14:55 [Qemu-devel] [PATCH v2] block: do_commit() does not pass along error messages for all errors Jeff Cody
2013-01-18 17:11 ` Markus Armbruster
2013-01-18 17:47 ` Jeff Cody [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=20130118174759.GA11533@localhost.localdomain \
--to=jcody@redhat.com \
--cc=armbru@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).