Received: from eggs.gnu.org ([208.118.235.92]:53314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Ld2-0005Rw-VH for qemu-devel@nongnu.org; Fri, 31 Aug 2012 03:26:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T7Lcx-00076A-TZ for qemu-devel@nongnu.org; Fri, 31 Aug 2012 03:26:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T7Lcx-00075y-Lb for qemu-devel@nongnu.org; Fri, 31 Aug 2012 03:26:51 -0400 From: Markus Armbruster References: <1345698866-19794-1-git-send-email-lilei@linux.vnet.ibm.com> <1345698866-19794-4-git-send-email-lilei@linux.vnet.ibm.com> <5035C2D3.2090002@redhat.com> Date: Fri, 31 Aug 2012 09:26:46 +0200 In-Reply-To: <5035C2D3.2090002@redhat.com> (Eric Blake's message of "Wed, 22 Aug 2012 23:42:43 -0600") Message-ID: <87oblrzfm1.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 3/6] QAPI: Introduce memchar_write QMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: aliguori@us.ibm.com, Lei Li , qemu-devel@nongnu.org Eric Blake writes: > On 08/22/2012 11:14 PM, Lei Li wrote: >> Signed-off-by: Lei Li > > Subject line uses '_', but the QMP command uses '-' [1] > >> --- >> hmp-commands.hx | 16 ++++++++++++++++ >> hmp.c | 15 +++++++++++++++ >> hmp.h | 1 + >> qapi-schema.json | 28 ++++++++++++++++++++++++++++ >> qemu-char.c | 36 ++++++++++++++++++++++++++++++++++++ >> qmp-commands.hx | 33 +++++++++++++++++++++++++++++++++ >> 6 files changed, 129 insertions(+), 0 deletions(-) >> >> diff --git a/hmp-commands.hx b/hmp-commands.hx >> index f6104b0..829aea1 100644 >> --- a/hmp-commands.hx >> +++ b/hmp-commands.hx >> @@ -797,6 +797,22 @@ Inject an NMI on the given CPU (x86 only). >> ETEXI >> >> { >> + .name = "memchar-write", > > HMP commands should use '_', not '-'. Both '_' and '-' occur in HMP command names. There are more occurences of '_', though. Otherwise identical HMP and QMP commands differing only in '_' vs. '-' is ugly. Maybe we should simply map '_' in HMP command names to '-' and be done with it. [...]