From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpM5b-0006zs-HB for qemu-devel@nongnu.org; Thu, 22 Oct 2015 16:03:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpM5X-0005ey-Bj for qemu-devel@nongnu.org; Thu, 22 Oct 2015 16:03:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpM5X-0005ee-6v for qemu-devel@nongnu.org; Thu, 22 Oct 2015 16:03:51 -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> <20151022191203.GC3736@thinpad.lan.raisama.net> <56293F99.1060109@aimale.com> From: Eric Blake Message-ID: <56294121.20301@redhat.com> Date: Thu, 22 Oct 2015 14:03:45 -0600 MIME-Version: 1.0 In-Reply-To: <56293F99.1060109@aimale.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="whvR04H0SpHQoPVF3FUgEhVALJtVEK8GI" 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 , Eduardo Habkost , Markus Armbruster Cc: qemu-devel@nongnu.org, lcapitulino@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --whvR04H0SpHQoPVF3FUgEhVALJtVEK8GI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/22/2015 01:57 PM, Valerio Aimale wrote: >=20 > pmemmap would return the following json >=20 > { > 'success' : 'true', > 'map_filename' : '/tmp/QEM_mmap_1234567' > } In general, it is better if the client controls the filename, and not qemu. This is because things like libvirt like to run qemu in a highly-constrained environment, where the caller can pass in a file descriptor that qemu cannot itself open(). So returning a filename is pointless if the filename was already provided by the caller. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --whvR04H0SpHQoPVF3FUgEhVALJtVEK8GI 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/ iQEcBAEBCAAGBQJWKUEhAAoJEKeha0olJ0NqMUAIAJmaDWCKayXsNzilXsGWEUUw 2KPLvUfzNsKJUoBPjvi4SYCNHXCkt+AxYDHSR6GRzTNW1Kl8Dx4yYDaKwJm1E6qN cT6ruk1WgDkgh9MUh1C2l6iKs+QwHPQZFjuEitdaK2Pr/6oDV6bBAL/9ZWrtSyn/ SNobKYEv8MNLHjVOqzVuk0PeEYw2LF7pEKrsdZZdPC7FTNmkin+y6s4CTyya1m8G jQ6wFallJzu9MS/Md2XEoNGPhlCbDROmtrtawXCLVaYPh7c9C4qQXYMQPk1ZGpRl reWcr/nC4xhqR4R9n+NJK5u4wCVFbCLsG3lju5XsV4fkP9scszPV+6j3B5ZhCcs= =R8bo -----END PGP SIGNATURE----- --whvR04H0SpHQoPVF3FUgEhVALJtVEK8GI--