From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38869 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OIdqg-0003gU-LD for qemu-devel@nongnu.org; Sun, 30 May 2010 04:26:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OIdqf-0000td-8M for qemu-devel@nongnu.org; Sun, 30 May 2010 04:26:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14227) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OIdqf-0000tV-1n for qemu-devel@nongnu.org; Sun, 30 May 2010 04:26:21 -0400 Message-ID: <4C02212A.6060702@redhat.com> Date: Sun, 30 May 2010 11:26:18 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization References: <1f557b9feb1965a61e64f7166bcf4918bed8d0ec.1274516288.git.jan.kiszka@web.de> <4BF82895.6000706@redhat.com> <4BF8DFF7.5070302@web.de> <4BF8EAFB.2080807@redhat.com> <4C00CCD4.7050904@web.de> In-Reply-To: <4C00CCD4.7050904@web.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Anthony Liguori , Juan Quintela , Jan Kiszka , qemu-devel@nongnu.org, Luiz Capitulino , Markus Armbruster On 05/29/2010 11:14 AM, Jan Kiszka wrote: >> Currently breaks down when IDs contain '/', but permitting that is a >> bug. There may be more problems; the path lookup code is way too >> clever. >> > Indeed. Less can sometimes be more. My impression is that some of the > cleverness was motivated by lacking qtree completion for the HMP. > Can we disable abbreviations for QMP and only allow them for HMP? We can support that by adding a hidden argument to commands specifying whether the input comes from a human or machine. Abbreviations are dangerous if they become ambiguous; a human can recover while a machine can't. -- error compiling committee.c: too many arguments to function