Received: from eggs.gnu.org ([2001:4830:134:3::10]:40801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpLHZ-0001Qw-L5 for qemu-devel@nongnu.org; Thu, 22 Oct 2015 15:12:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZpLHU-0002Vc-I6 for qemu-devel@nongnu.org; Thu, 22 Oct 2015 15:12:13 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZpLHU-0002VT-Cu for qemu-devel@nongnu.org; Thu, 22 Oct 2015 15:12:08 -0400 Date: Thu, 22 Oct 2015 17:12:03 -0200 From: Eduardo Habkost Message-ID: <20151022191203.GC3736@thinpad.lan.raisama.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87twpkqyow.fsf@blackfin.pond.sub.org> 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: Markus Armbruster Cc: qemu-devel@nongnu.org, Valerio Aimale , lcapitulino@redhat.com On Wed, Oct 21, 2015 at 12:54:23PM +0200, Markus Armbruster wrote: > Valerio Aimale writes: [...] > > There's also a similar patch, floating around the internet, the uses > > shared memory, instead of sockets, as inter-process communication > > between libvmi and QEMU. I've never used that. > > By the time you built a working IPC mechanism on top of shared memory, > you're often no better off than with AF_LOCAL sockets. > > Crazy idea: can we allocate guest memory in a way that support sharing > it with another process? Eduardo, can -mem-path do such wild things? It can't today, but just because it creates a temporary file inside mem-path and unlinks it immediately after opening a file descriptor. We could make memory-backend-file also accept a full filename as argument, or add a mechanism to let QEMU send the open file descriptor to a QMP client. -- Eduardo