From: "Marc-André Lureau" <mlureau@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
qemu-devel@nongnu.org, berto@igalia.com, armbru@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 4/4] iotests: fix expected error message
Date: Wed, 21 Sep 2016 17:44:45 -0400 (EDT) [thread overview]
Message-ID: <208403532.544963.1474494285084.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <0930de91-13c5-d560-73f8-2a3623204006@redhat.com>
----- Original Message -----
> On 09/21/2016 03:10 PM, Marc-André Lureau wrote:
> > Missing argument returns a corresponding error message for all types
> > now.
> >
> > The "old" qmp dispatch code didn't return QERR_MISSING_PARAMETER for
> > argument structure members (it returned QERR_INVALID_PARAMETER). Only
> > for top-level argument it did return QERR_MISSING_PARAMETER. It is
> > preferable to have a consistent error for missing fields in inner
> > structs as well.
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> > Reviewed-by: Alberto Garcia <berto@igalia.com>
> > ---
> > tests/qemu-iotests/087.out | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Yes, this looks better.
>
> If the message is changed earlier in this series, then this should be
> squashed into that patch (3/4?); if the message changed as the result of
> an earlier commit, the commit message should call out the id at which
> the tree was temporarily broken.
I checked, it's the previous patch that introduce the change (I wasn't sure given that in alternate case qapi already returned MISSING_PARAMETER), it can be squashed with it.
prev parent reply other threads:[~2016-09-21 21:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-21 20:10 [Qemu-devel] [PATCH v2 0/4] qapi: return 'missing parameter' error Marc-André Lureau
2016-09-21 20:10 ` [Qemu-devel] [PATCH v2 1/4] qapi: add assert about root value Marc-André Lureau
2016-09-21 21:05 ` Eric Blake
2016-09-21 20:10 ` [Qemu-devel] [PATCH v2 2/4] qapi: assert list entry has a value Marc-André Lureau
2016-09-21 21:06 ` Eric Blake
2016-09-21 20:10 ` [Qemu-devel] [PATCH v2 3/4] qapi: return a 'missing parameter' error Marc-André Lureau
2016-09-21 21:35 ` Eric Blake
2016-09-22 8:06 ` Daniel P. Berrange
2016-09-22 12:46 ` Markus Armbruster
2016-09-22 12:58 ` Marc-André Lureau
2016-09-21 20:10 ` [Qemu-devel] [PATCH v2 4/4] iotests: fix expected error message Marc-André Lureau
2016-09-21 21:33 ` Eric Blake
2016-09-21 21:44 ` Marc-André Lureau [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=208403532.544963.1474494285084.JavaMail.zimbra@redhat.com \
--to=mlureau@redhat.com \
--cc=armbru@redhat.com \
--cc=berto@igalia.com \
--cc=eblake@redhat.com \
--cc=marcandre.lureau@redhat.com \
--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.