From: Cam Macdonell Subject: Re: Add a qemu interface for sharing memory between guests. Date: Wed, 14 Oct 2009 16:44:13 -0600 Message-ID: <8286e4ee0910141544y3ec5112fxe2739ebfa1745736@mail.gmail.com> References: <201116.8467.qm@web111105.mail.gq1.yahoo.com> <4AD2EEE8.1080004@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: kvm@vger.kernel.org, qemu-devel@nongnu.org To: Sivaram Kannan Return-path: Received: from mail-iw0-f180.google.com ([209.85.223.180]:62295 "EHLO mail-iw0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761304AbZJNWou (ORCPT ); Wed, 14 Oct 2009 18:44:50 -0400 Received: by iwn10 with SMTP id 10so177264iwn.4 for ; Wed, 14 Oct 2009 15:44:13 -0700 (PDT) In-Reply-To: <4AD2EEE8.1080004@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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