Received: from eggs.gnu.org ([2001:4830:134:3::10]:54322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWmr1-0004HB-F8 for qemu-devel@nongnu.org; Tue, 01 Sep 2015 10:48:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWmqx-0002ax-3A for qemu-devel@nongnu.org; Tue, 01 Sep 2015 10:48:07 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:38176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWmqw-0002WW-QL for qemu-devel@nongnu.org; Tue, 01 Sep 2015 10:48:03 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 1 Sep 2015 15:47:38 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t81EUDOX15532236 for ; Tue, 1 Sep 2015 14:30:13 GMT Received: from d06av02.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t81EUCJD031349 for ; Tue, 1 Sep 2015 08:30:13 -0600 Date: Tue, 1 Sep 2015 16:30:10 +0200 From: Cornelia Huck Message-ID: <20150901163010.229565fc.cornelia.huck@de.ibm.com> In-Reply-To: <55E4A3AF.500@linux.vnet.ibm.com> References: <1441018834-8993-1-git-send-email-cornelia.huck@de.ibm.com> <1441018834-8993-6-git-send-email-cornelia.huck@de.ibm.com> <55E4813C.1050707@redhat.com> <55E4A3AF.500@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 5/8] s390x: Dump-skeys hmp support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, qemu-devel@nongnu.org, jjherne@linux.vnet.ibm.com, agraf@suse.de On Mon, 31 Aug 2015 14:57:51 -0400 "Jason J. Herne" wrote: > On 08/31/2015 12:30 PM, Eric Blake wrote: > > On 08/31/2015 05:00 AM, Cornelia Huck wrote: > >> From: "Jason J. Herne" > >> > >> Add dump-skeys command to the human monitor. > >> > >> Reviewed-by: Thomas Huth > >> Reviewed-by: David Hildenbrand > >> Signed-off-by: Jason J. Herne > >> Signed-off-by: Cornelia Huck > >> --- > >> hmp-commands.hx | 16 ++++++++++++++++ > >> hw/s390x/s390-skeys.c | 12 ++++++++++++ > >> include/hw/s390x/storage-keys.h | 2 ++ > >> monitor.c | 4 ++++ > >> 4 files changed, 34 insertions(+) > >> > >> diff --git a/hmp-commands.hx b/hmp-commands.hx > >> index d3b7932..803ff91 100644 > >> --- a/hmp-commands.hx > >> +++ b/hmp-commands.hx > >> @@ -1053,6 +1053,22 @@ gdb. Without -z|-l|-s, the dump format is ELF. > >> together with begin. > >> ETEXI > >> > >> +#if defined(TARGET_S390X) > >> + { > >> + .name = "dump-skeys", > > > > Most HMP commands use '_', not '-', for word separation. > > > > I patterned my new command after dump-guest-memory since the functionality > was similar. Though it is easy enough to change if you would like. Eric, do you have a strong preference? I think either is fine; I can either keep it as-is or merge in a change for the pull.