From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUFTk-0003dp-W3 for qemu-devel@nongnu.org; Sat, 26 Nov 2011 05:27:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RUFTj-0001cL-Sy for qemu-devel@nongnu.org; Sat, 26 Nov 2011 05:27:28 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:49783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RUFTj-0001c7-Ak for qemu-devel@nongnu.org; Sat, 26 Nov 2011 05:27:27 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id F2DC91BB09425 for ; Sat, 26 Nov 2011 11:27:25 +0100 (CET) Message-ID: <4ED0BF02.1020704@web.de> Date: Sat, 26 Nov 2011 08:27:14 -0200 From: Jan Kiszka MIME-Version: 1.0 References: <4EC373F8.6080300@cn.fujitsu.com> <94fa6b35-8681-45e0-85dd-ffbe2ec95f74@zmail15.collab.prod.int.phx2.redhat.com> <4EC653A4.5010801@web.de> <4ECA0696.2070603@cn.fujitsu.com> In-Reply-To: <4ECA0696.2070603@cn.fujitsu.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigFABC729466D5693CD94B101D" Subject: Re: [Qemu-devel] [RFC] 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: Dave Anderson , qemu-devel , Sergio Durigan Junior This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFABC729466D5693CD94B101D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2011-11-21 06:06, Wen Congyang wrote: > At 11/18/2011 08:46 PM, Jan Kiszka Write: >> On 2011-11-16 14:29, Dave Anderson wrote: >>> >>> >>> ----- Original Message ----- >>>> Hi, all >>>> >>>> 'virsh dump' can not work when host pci device is used by guest. We = have >>>> discussed this issue here: >>>> http://lists.nongnu.org/archive/html/qemu-devel/2011-10/msg00736.htm= l >>>> >>>> We have determined to introduce a new command dump to dump memory. >>>> The core file's format can be elf. >>>> >>>> I created a kdump-elf vmcore, and found that it can be used by both >>>> crash and gdb: >>>> >=20 >>> From an enterprise/support point of view, the wholesale replacement >>> of the current use of the savevm dumpfile format by "virsh dump" with= >>> this ELF style format would be a *huge* improvement.=20 >> >> Yes, fully agree. Would be cool if that could actually work for both >> crash and gdb. Looking forward! >=20 > Because the memory size for x86 machine can greater than 4G, so we shou= ld > create elf64 format core file for 32bit OS. >=20 > I create a vmcore: the guest OS is 32-bit, and the vmcore is elf64 form= at. > I can use crash to anaylyze it, but gdb can not do the same thing. >=20 > I create a kdump-elf64 vmcore on 32-bit machine, and gdb still can not = anaylyze > it. >=20 > Does gdb support elf64 format core file on x86 box? >=20 Dunno, but I'm trying to pull in some interested gdb folks. Jan --------------enigFABC729466D5693CD94B101D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7QvwcACgkQitSsb3rl5xT7GACgmhPHSbNSd3E9iHBoZ4AhSFR7 zG8An0dfjJkC0Rb4i72Ck42754tGPsf6 =WpK3 -----END PGP SIGNATURE----- --------------enigFABC729466D5693CD94B101D--