From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpL0h-0006b2-SD for qemu-devel@nongnu.org; Thu, 22 Oct 2015 14:54:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpL0e-0005TV-K4 for qemu-devel@nongnu.org; Thu, 22 Oct 2015 14:54:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpL0e-0005T0-Eh for qemu-devel@nongnu.org; Thu, 22 Oct 2015 14:54:44 -0400 References: <1444952643-5033-1-git-send-email-valerio@aimale.com> <87h9lrkz56.fsf@blackfin.pond.sub.org> <56210A17.6080401@aimale.com> <87io63xpke.fsf@blackfin.pond.sub.org> <56250035.40805@aimale.com> <87twpkqyow.fsf@blackfin.pond.sub.org> <56292E3A.2010603@aimale.com> From: Eric Blake Message-ID: <562930ED.4040503@redhat.com> Date: Thu, 22 Oct 2015 12:54:37 -0600 MIME-Version: 1.0 In-Reply-To: <56292E3A.2010603@aimale.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="FjiEKuPAMt9NB6wh6Us6tKDM3aKnSohsm" Subject: Re: [Qemu-devel] QEMU patch to allow VM introspection via libvmi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Valerio Aimale , Markus Armbruster Cc: qemu-devel@nongnu.org, ehabkost@redhat.com, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FjiEKuPAMt9NB6wh6Us6tKDM3aKnSohsm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/22/2015 12:43 PM, Valerio Aimale wrote: >=20 > What if there was a qmp command, say 'pmemmap' then when invoked, > performs the following: >=20 > qmp_pmemmap( [...]) { >=20 > char *template =3D "/tmp/QEM_mmap_XXXXXXX"; Why not let the caller pass in the file name, rather than opening it ourselves? But the idea of coordinating a file that both caller and qemu mmap to the same guest memory view might indeed have merit. [by the way, it's okay to trim messages to the relevant portions, rather than making readers scroll through lots of quoted content to find the mea= t] --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --FjiEKuPAMt9NB6wh6Us6tKDM3aKnSohsm 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWKTDtAAoJEKeha0olJ0Nq9g8H/R/KYhosZ8Z+kUrAA3xUHpfy pxkyOq7FIhCxa+IbHeKerCTSzQ0R2I6B+lHx2lxyVfSYDZLP9rNZ79Z+zEGCRFji KfHYFROWkoNqp3nBjQzTre7+6unBFnbgPKZ7uD+dVhV48j+d3nPYD26fe9x2AGnf cvBVTq9mKtuulLn2VyaqCHgKord4rt5vQSWp016ffrjvzZV6NQhBCc/X2HSLfxeL nX1SBq2c/kyWDN34K1X+9NU555jPSyKrF/XJ41JNV7V83dw/1b3ryCmsjBvzaUOE d6Rhb2v166wqBRT7xWDDsW2lSwD472oamXi+8xN2ZcZx1fuU7pXgLDwlKy19wiw= =jp1w -----END PGP SIGNATURE----- --FjiEKuPAMt9NB6wh6Us6tKDM3aKnSohsm--