From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: sharing memory Date: Wed, 05 Sep 2007 23:09:29 +0300 Message-ID: <46DF0CF9.6080109@qumranet.com> References: <001201c7ee22$8bde5110$1401010a@FRANCESCOFISSO> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Francesco Cipollone Return-path: In-Reply-To: <001201c7ee22$8bde5110$1401010a@FRANCESCOFISSO> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Francesco Cipollone wrote: > Hy, > I'm writing my thesis on Virtualizzation and it's application to security. > Now for Xen Hypervisor there are a lot of application already > developed (like XenRim, XenFit, XenKimono) and very nice ideas... > I want to transfer these ideas on Kvm...but is a little bit harder > than i thought. > So the firs treat was to do an application in the "host" machine that > comunicate in some way with another application in the "guest" machine > (the VM). > I've tried to use the Libvirt function...but they're designed > principally to work with Xen... > So I guest how i can read the memory of a VM ?! > Must I interface my application in the host machine directly with the > Qemu ? > There is a better solution supported by KVM to implement shared memory > between VMs or between VMs and "host" system? > kvm will soon support an interface to mmap() a file to a VM. You could then mmap one file to several virtual machines and thus achieve shared memory. It would also work with system V shared memory. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/