From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDWW7-00085n-4U for qemu-devel@nongnu.org; Tue, 11 Oct 2011 03:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDWW6-0000mh-A3 for qemu-devel@nongnu.org; Tue, 11 Oct 2011 03:12:47 -0400 Received: from [222.73.24.84] (port=55786 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDWW5-0000km-PC for qemu-devel@nongnu.org; Tue, 11 Oct 2011 03:12:46 -0400 Message-ID: <4E93ECA1.6010403@cn.fujitsu.com> Date: Tue, 11 Oct 2011 15:13:37 +0800 From: Wen Congyang MIME-Version: 1.0 References: <4E8ECA91.8040409@cn.fujitsu.com> <4E8ED167.1000705@siemens.com> <20111008151622.GA17181@amd.home.annexia.org> <4E916035.5050906@web.de> <20111009102338.GN16799@amd.home.annexia.org> <4E92568E.2010507@cn.fujitsu.com> <20111010090825.GG9408@redhat.com> <20111010091021.GH9408@redhat.com> <4E92BC34.6090500@siemens.com> <20111010101949.GP9408@redhat.com> <4E93A7FF.9060607@cn.fujitsu.com> <4E93E930.6010008@web.de> In-Reply-To: <4E93E930.6010008@web.de> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Luiz Capitulino , qemu-devel , "Richard W.M. Jones" At 10/11/2011 02:58 PM, Jan Kiszka Write: > On 2011-10-11 04:20, Wen Congyang wrote: >>>>> The other reason why it would be good, is that we would then have a clearly >>>>> defined standard "QEMU dump format", instead of "libvirt dump format for QEMU" >>>> >>>> A core file would be that format - for direct gdb processing. No >>>> proprietary re-inventions please. >>> >>> I have no personal attachment to any particular format, so if the standard >>> core file format is possible, then we should definitely try to use it in >>> QEMU. >> >> I do not know whether there is such standard format. But IIRC, the format of kdump, >> netdump, and diskdump is very similar. >> >> If we want to use such format in qemu, I think we can not do live dump in libvirt. > > You said you wanted to perform crash dumps - so there hardly anything > alive at this point. The purpose of 'virsh dump' is for crash dumps, but we can not prevent the user doing it when the kernel is alive. Thanks Wen Congyang > > Jan >