public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Francesco Cipollone
	<francesco.cipo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: sharing memory
Date: Wed, 05 Sep 2007 23:09:29 +0300	[thread overview]
Message-ID: <46DF0CF9.6080109@qumranet.com> (raw)
In-Reply-To: <001201c7ee22$8bde5110$1401010a@FRANCESCOFISSO>

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/

      parent reply	other threads:[~2007-09-05 20:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03 12:04 sharing memory Francesco Cipollone
2007-09-04  8:50 ` Dor Laor
     [not found]   ` <64F9B87B6B770947A9F8391472E032160D706627-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-09-04 20:03     ` Cam Macdonell
     [not found]       ` <46DDB9FC.4030408-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-05  7:33         ` Dor Laor
     [not found]           ` <64F9B87B6B770947A9F8391472E032160D7E927C-yEcIvxbTEBqsx+V+t5oei8rau4O3wl8o3fe8/T/H7NteoWH0uzbU5w@public.gmane.org>
2007-09-07 18:11             ` Cam Macdonell
     [not found]               ` <46E19448.9020803-edFDblaTWIyXbbII50Afww@public.gmane.org>
2007-09-08 22:09                 ` Dor Laor
2007-09-05 20:09 ` Avi Kivity [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46DF0CF9.6080109@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=francesco.cipo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox