qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 10/28] qmp: Improve QMP dispatch error messag


From: Markus Armbruster
Subject: Re: [Qemu-devel] [PATCH v4 10/28] qmp: Improve QMP dispatch error messages
Date: Tue, 07 Mar 2017 08:45:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Eric Blake <address@hidden> writes:

> On 03/05/2017 02:01 AM, Markus Armbruster wrote:
>
>>>> @@ -41,15 +41,17 @@ static QDict *qmp_dispatch_check_obj(const QObject 
>>>> *request, Error **errp)
>>>>
>>>>          if (!strcmp(arg_name, "execute")) {
>>>>              if (qobject_type(arg_obj) != QTYPE_QSTRING) {
>>>> -                error_setg(errp, "QMP input object member '%s' expects 
>>>> '%s'",
>>>> -                           "execute", "string");
>>>> +                error_setg(errp,
>>>> +                           "QMP input object member '%s' must be %s",
>>>> +                           "execute", "a string");
>>>
>>> let's avoid formatting like the rest of this patch.
>>>
>
>> Since substantial other work depends on this series, it needs to go in
>> sooner rather than later.  I'm therefore *dropping* this patch from the
>> series.  We can then bikeshed^Wpolish to our heart's content without
>> holding up other work.
>
> Agreed.
>
>> 
>> That said: what about this?
>
> Looks better.  Do you want R-b now, or when you re-post it as an
> official patch?

I'll gladly take it either way :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]