From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIcon-0006dv-OP for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:57:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIcoi-00037k-3V for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:57:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIcoh-00036w-Mx for qemu-devel@nongnu.org; Tue, 25 Oct 2011 04:57:03 -0400 Message-ID: <4EA679CC.2080301@redhat.com> Date: Tue, 25 Oct 2011 10:56:44 +0200 From: Paolo Bonzini 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> <4EA67216.3050309@redhat.com> <4EA674EF.9010308@redhat.com> <4EA678B6.6090804@redhat.com> In-Reply-To: <4EA678B6.6090804@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed 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: Avi Kivity Cc: qemu-devel , Jan Kiszka , "Richard W.M. Jones" , Luiz Capitulino , Dave Anderson , KAMEZAWA Hiroyuki On 10/25/2011 10:52 AM, Avi Kivity wrote: >> > Crash uses a heuristic based on the IDT base to identify the base from >> > migrate-to-file output. It also needs CR3 in order to read from >> > virtual address. > Does elf not store cr3? Perhaps a note with the contents of the > privileged cpu registers is needed. Yes. It would be nice if this note could be somewhat standardized. Jan, is there a code sample somewhere for the x86-gdb summer of code project? Paolo