From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIcIm-0004aW-QP for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:24:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIcIh-0005OT-7M for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:24:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIcIg-0005ON-T9 for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:23:59 -0400 Message-ID: <4EA67216.3050309@redhat.com> Date: Tue, 25 Oct 2011 10:23:50 +0200 From: Avi Kivity MIME-Version: 1.0 References: <54c9dc1d-3104-4f42-9a20-d7f4da516bdc@zmail05.collab.prod.int.phx2.redhat.com> <4EA58488.50306@redhat.com> <4EA66E1E.90502@cn.fujitsu.com> In-Reply-To: <4EA66E1E.90502@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Wen Congyang Cc: Jan Kiszka , "Richard W.M. Jones" , qemu-devel , Dave Anderson , Luiz Capitulino , KAMEZAWA Hiroyuki On 10/25/2011 10:06 AM, Wen Congyang wrote: > Hi, Avi Kivity, Dave Anderson > > I have two questions about it: > > 1. How to know the guest's physical base address in qemu? In fact, it's impossible. Perhaps crash can scan through the core looking for a signature. Need to be careful since multiple signatures may be detected (a kdump kernel, a kernel image in pagecache, or a nested guest). -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.