From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:41895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDA0v-00084r-Qg for qemu-devel@nongnu.org; Mon, 10 Oct 2011 03:11:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDA0p-0004th-Hs for qemu-devel@nongnu.org; Mon, 10 Oct 2011 03:11:05 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:38681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDA0p-0004tH-46 for qemu-devel@nongnu.org; Mon, 10 Oct 2011 03:10:59 -0400 Message-ID: <4E929A81.202@web.de> Date: Mon, 10 Oct 2011 09:10:57 +0200 From: Jan Kiszka 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> <4E929618.4040403@web.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB449177A9D1651ED99614BC0" Sender: jan.kiszka@web.de 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: Alexander Graf Cc: qemu-devel , "Richard W.M. Jones" , Luiz Capitulino This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB449177A9D1651ED99614BC0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2011-10-10 09:08, Alexander Graf wrote: >=20 > Am 10.10.2011 um 08:52 schrieb Jan Kiszka : >=20 >> On 2011-10-10 04:21, Wen Congyang wrote: >>> At 10/09/2011 06:23 PM, Richard W.M. Jones Write: >>>> On Sun, Oct 09, 2011 at 10:49:57AM +0200, Jan Kiszka wrote: >>>>> As explained in the other replies: It is way more future-proof to u= se an >>>>> interface for this which was designed for it (remote gdb) instead o= f >>>>> artificially relaxing reasonable constraints of the migration mecha= nism >>>>> plus having to follow that format with the post-processing tool. >>>> >>>> Any interface that isn't "get this information off my production >>>> server *now*" so that I can get the server restarted, and send it to= >>>> an expert to analyse -- is a poor interface, whether it was designed= >>>> like that or not. Perhaps we don't have the right interface at all,= >>>> but remote gdb is not it. >>> >>> What about the following idea? >>> >>> Introduce a new monitor command named dump, and this command accepts = a filename. >>> We can use almost all migration's code. We use this command to dump g= uest's >>> memory, so there is no need to check whether the guest has a unmigrat= able device. >> >> I do not want to reject this proposal categorically, but I would like = to >> see the gdb path fail /wrt essential requirements first. So far I don'= t >> see it would. >=20 > Through gdb you access virtual address space, whilein this case you rea= lly want physical. You want to attach a debugger afterwards as well. So this is just about offlining the gdb session the end user should not have to handle himself.= Jan --------------enigB449177A9D1651ED99614BC0 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.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6SmoEACgkQitSsb3rl5xQefgCg44770BfUMsFn5BE3euXtNSUQ 88AAnjJNpB+vR424apzlTr1e+FAGp4fd =UgAR -----END PGP SIGNATURE----- --------------enigB449177A9D1651ED99614BC0--