From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyCaT-0000IR-TI for qemu-devel@nongnu.org; Wed, 14 Oct 2009 18:44:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyCaP-0000H7-3I for qemu-devel@nongnu.org; Wed, 14 Oct 2009 18:44:53 -0400 Received: from [199.232.76.173] (port=43187 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyCaO-0000H4-Vp for qemu-devel@nongnu.org; Wed, 14 Oct 2009 18:44:49 -0400 Received: from mail-iw0-f180.google.com ([209.85.223.180]:44178) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyCaO-0002eQ-Ms for qemu-devel@nongnu.org; Wed, 14 Oct 2009 18:44:48 -0400 Received: by iwn10 with SMTP id 10so177263iwn.4 for ; Wed, 14 Oct 2009 15:44:13 -0700 (PDT) MIME-Version: 1.0 Sender: camm@ualberta.ca In-Reply-To: <4AD2EEE8.1080004@redhat.com> References: <201116.8467.qm@web111105.mail.gq1.yahoo.com> <4AD2EEE8.1080004@redhat.com> Date: Wed, 14 Oct 2009 16:44:13 -0600 Message-ID: <8286e4ee0910141544y3ec5112fxe2739ebfa1745736@mail.gmail.com> From: Cam Macdonell Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Re: Add a qemu interface for sharing memory between guests. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sivaram Kannan Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On Mon, Oct 12, 2009 at 2:55 AM, Avi Kivity wrote: > > On 10/12/2009 08:53 AM, Sivaram Kannan wrote: >> >> Hi all, >> >> I am a KVM newbie and I picked up the following task from the TODO of the KVM wiki. >> >> Add a qemu interface for sharing memory between guests. Using a pci device to expose the shared memory is probably a good starting point. (this should use virtio and probably depends on mmu-notifiers) >> >> Is the task still relevant? Can I some one give some pointer for me to start with. >> >> > > Cam did a lot of work on this, perhaps he can provide a pointer. > > -- > error compiling committee.c: too many arguments to function Hi Sivaram, Here are the two patches for KVM describing what I have done. I am continuing to work on it and still mulling a move to virtio. These don't apply against the current tree, but I can provide those patches if you would like to see them. http://patchwork.kernel.org/patch/38355/ http://patchwork.kernel.org/patch/38347/ We're you interested in using the shared memory for something in particular or were you just looking for a to-do task to pick up? Let me know if you have any questions, Cheers, Cam