Received: from eggs.gnu.org ([2001:4830:134:3::10]:57734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmMM8-0007rl-AA for qemu-devel@nongnu.org; Tue, 20 Sep 2016 10:49:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmMM3-0007LC-86 for qemu-devel@nongnu.org; Tue, 20 Sep 2016 10:49:07 -0400 Received: from smtp3.mundo-r.com ([212.51.32.191]:58102 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmMM3-0007Kg-00 for qemu-devel@nongnu.org; Tue, 20 Sep 2016 10:49:03 -0400 Date: Tue, 20 Sep 2016 17:48:44 +0300 From: Alberto Garcia Message-ID: <20160920144844.nzbpfrauczlml3a5@perseus.local> References: <20160912091913.15831-1-marcandre.lureau@redhat.com> <20160912091913.15831-16-marcandre.lureau@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160912091913.15831-16-marcandre.lureau@redhat.com> Subject: Re: [Qemu-devel] [PATCH v6 15/18] monitor: use qmp_dispatch() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Cc: qemu-devel@nongnu.org, eblake@redhat.com, armbru@redhat.com On Mon, Sep 12, 2016 at 01:19:10PM +0400, Marc-André Lureau wrote: > Replace the old manual dispatch and validation code by the generic one > provided by qapi common code. > > Note that it is now possible to call the following commands that used to > be disabled by compile-time conditionals: > - dump-skeys > - query-spice > - rtc-reset-reinjection > - query-gic-capabilities > > Their fallback functions return an appropriate "feature disabled" error. > > Signed-off-by: Marc-André Lureau This patch breaks iotest 085 because the "missing parameter" error is now different: -{"error": {"class": "GenericError", "desc": "Parameter 'snapshot-file' is missing"}} +{"error": {"class": "GenericError", "desc": "Invalid parameter type for 'snapshot-file', expected: string"}} I was thinking to update the expected output of the iotest, but I guess it's better to return a more meaningful error message? Berto