From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePPTz-00054W-4X for qemu-devel@nongnu.org; Thu, 14 Dec 2017 04:07:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePPTv-0005Po-Ut for qemu-devel@nongnu.org; Thu, 14 Dec 2017 04:07:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60474) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ePPTv-0005Oq-OD for qemu-devel@nongnu.org; Thu, 14 Dec 2017 04:07:07 -0500 Date: Thu, 14 Dec 2017 10:06:58 +0100 From: Kevin Wolf Message-ID: <20171214090658.GA3731@dhcp-200-186.str.redhat.com> References: <20171213232025.24503-1-f4bug@amsat.org> <20171213232025.24503-2-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20171213232025.24503-2-f4bug@amsat.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 01/26] sdbus: add a QMP command to access a SDBus List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= Cc: Alistair Francis , "Edgar E . Iglesias" , Peter Maydell , Markus Armbruster , Michael Roth , Andrey Smirnov , Andrey Yurovsky , Eduardo Habkost , "Daniel P . Berrange" , Eric Blake , Fam Zheng , Thomas Huth , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , Paolo Bonzini , qemu-devel@nongnu.org Am 14.12.2017 um 00:20 hat Philippe Mathieu-Daud=E9 geschrieben: > 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, this is acceptable. >=20 > Signed-off-by: Philippe Mathieu-Daud=E9 Doing this kind of thing over QMP doesn't look right to me. qtests should access hardware the same way as real guests access the hardware (i.e. MMIO and I/O ports). But if for some reason the QMP maintainers were to think that this is acceptable in QMP, I'd argue it should at least get an x-debug- prefix to avoid making it a stable API that management tools may rely on. Kevin