From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQvuY-0001P7-Ny for qemu-devel@nongnu.org; Fri, 21 Mar 2014 05:38:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQvuO-0004Ou-Hc for qemu-devel@nongnu.org; Fri, 21 Mar 2014 05:38:46 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:33653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQvuO-0004NC-7c for qemu-devel@nongnu.org; Fri, 21 Mar 2014 05:38:36 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 21 Mar 2014 09:38:33 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 3CACB17D805A for ; Fri, 21 Mar 2014 09:39:13 +0000 (GMT) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s2L9cHtM50462808 for ; Fri, 21 Mar 2014 09:38:17 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s2L9cSha011252 for ; Fri, 21 Mar 2014 03:38:29 -0600 Message-ID: <532C0894.5000803@de.ibm.com> Date: Fri, 21 Mar 2014 10:38:28 +0100 From: Christian Borntraeger MIME-Version: 1.0 References: <532B51DD.8060807@de.ibm.com> <532B5607.6060206@redhat.com> <532B5B1E.4020702@de.ibm.com> <532B5D70.4030808@redhat.com> <532B62FF.9030804@redhat.com> <532C0684.90505@cn.fujitsu.com> In-Reply-To: <532C0684.90505@cn.fujitsu.com> Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] hmp interface for kdump compressed format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qiaonuohan@cn.fujitsu.com" , Paolo Bonzini Cc: Laszlo Ersek , "qemu-devel@nongnu.org" , Luiz Capitulino On 21/03/14 10:31, qiaonuohan@cn.fujitsu.com wrote: [....] >>> Another option would be to leave the current command intact, and add an >>> independent command that wouldn't take "begin", "end", nor "paging", but >>> would take compression format. >> >> Another possibility is to kill begin/length from the dump-guest-memory command. >> HMP is not stable, so if that's useful we can do it. > > AFAIK, kdump-compressed format can only be analyzed by crash-utility right > now. ELF is big but we still need it, then begin/length will help us save > time and space when only part of the memory is need. > > IMHO, a new HMP command will be a good choice and it is more simple than > making dump format 'stateful'. I am not so clear about HMP, but I think > the new HMP command can be 'dump-guest-memory-with-format', and still > base on qmp_dump_guest_memory. If you guys like it, I will send a patch > that add this command. Yes, please do, if you find the time. Maybe user "dump-guest-memory-format" or whatever comes up might be a better name, though. Thanks a lot Christian