Received: from eggs.gnu.org ([2001:4830:134:3::10]:40787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1s8J-0003Ci-57 for qemu-devel@nongnu.org; Mon, 08 Jun 2015 04:10:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z1s8E-0007Qm-SJ for qemu-devel@nongnu.org; Mon, 08 Jun 2015 04:10:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z1s8E-0007OP-DC for qemu-devel@nongnu.org; Mon, 08 Jun 2015 04:10:06 -0400 From: Markus Armbruster References: <02aa01d09f9a$5bb198d0$1314ca70$@samsung.com> <5571B3E6.1030606@redhat.com> Date: Mon, 08 Jun 2015 10:10:03 +0200 In-Reply-To: <5571B3E6.1030606@redhat.com> (Paolo Bonzini's message of "Fri, 05 Jun 2015 16:36:22 +0200") Message-ID: <87sia2lixw.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH] Do not fail if id field is present. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Pavel Fedin , qemu-devel@nongnu.org Paolo Bonzini writes: > On 05/06/2015 16:17, Pavel Fedin wrote: >> This fixes QMP regression: >> http://lists.gnu.org/archive/html/qemu-devel/2015-06/msg01795.html >> >> Signed-off-by: Pavel Fedin >> --- >> monitor.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/monitor.c b/monitor.c >> index c7baa91..ef21bba 100644 >> --- a/monitor.c >> +++ b/monitor.c >> @@ -4955,6 +4955,8 @@ static QDict *qmp_check_input_obj(QObject *input_obj, Error **errp) >> "arguments", "object"); >> return NULL; >> } >> + } else if (!strcmp(arg_name, "id")) { >> + /* Ignored, necessary for backwards compatibility */ >> } else { >> error_set(errp, QERR_QMP_EXTRA_MEMBER, arg_name); >> return NULL; >> > > Nope, this is not enough to fix virt-test. Really? Details?