Received: from eggs.gnu.org ([209.51.188.92]:48980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3LNv-0003bY-NK for qemu-devel@nongnu.org; Mon, 11 Mar 2019 09:54:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3LCz-0001l5-SH for qemu-devel@nongnu.org; Mon, 11 Mar 2019 09:43:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46970) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h3LCz-0001kq-LF for qemu-devel@nongnu.org; Mon, 11 Mar 2019 09:43:13 -0400 Date: Mon, 11 Mar 2019 10:43:06 -0300 From: Eduardo Habkost Message-ID: <20190311134306.GJ8899@habkost.net> References: <20180103214925.16677-1-f4bug@amsat.org> <20180103214925.16677-2-f4bug@amsat.org> <07100472-e75f-88c7-6740-21a56e225f80@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <07100472-e75f-88c7-6740-21a56e225f80@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 1/4] sdbus: add a QMP command to access a SDBus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Alistair Francis , Peter Maydell , Eric Blake , Paolo Bonzini , Kevin Wolf , "Daniel P . Berrange" , Stefan Hajnoczi , qemu-devel@nongnu.org, Edgar Iglesias , Markus Armbruster , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau On Mon, Mar 11, 2019 at 12:49:50PM +0100, Thomas Huth wrote: > On 08/03/2019 17.11, Philippe Mathieu-Daud=E9 wrote: > > Hi Markus, > >=20 > > [Asking again from the correct series thread] > >=20 > > On 1/3/18 10:49 PM, Philippe Mathieu-Daud=E9 wrote: > >> Use Base64 to serialize the binary blobs in JSON. > >> So far at most 512 bytes will be transfered, which result > >> in a 684 bytes payload. > >> Since this command is intented for qtesting, it is acceptable. > >=20 > > Any comment regarding QMP for this patch? >=20 > Is this useful for anybody else than qtest? If not, I think this should > rather go into the qtest protocol instead, since QMP is our "public" > protocol. Extending qtest requires writing parsers by hand. Do we really want to go that route and start extending the qtest protocol more often? I also plan to add new debugging-only QMP commands for testing CPU code, and I'm not looking forward to writing my own parser inside qtest_process_command(). --=20 Eduardo