From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cameron Macdonell Subject: Re: inter-vm shared memory (ivshmem) documentation Date: Wed, 22 Apr 2009 21:52:55 -0600 Message-ID: <28A70B4E-5015-4429-9D52-A88DB304F9A6@cs.ualberta.ca> References: <7384320d0904221623v748ea477y691a5ad4db88a7a0@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Valdir Stumm Junior Return-path: Received: from fleet.cs.ualberta.ca ([129.128.22.22]:42021 "EHLO fleet.cs.ualberta.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbZDWDw5 (ORCPT ); Wed, 22 Apr 2009 23:52:57 -0400 In-Reply-To: <7384320d0904221623v748ea477y691a5ad4db88a7a0@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On 22-Apr-09, at 5:23 PM, Valdir Stumm Junior wrote: > Hi all, > > I need a mechanism to share memory between my kvm guests to use at an > intrusion tolerance project. I found the Inter-VM Shared Memory > (ivshmem) device driver posted in this mailing list. I am trying to > install and use it, but I have some questions. > > Is there a documentation (like a roadmap) about how to put ivshmem > device driver to work and how to test it? Hi Valdir, Documentation is under development. I have some simple test programs that I can supply when you get it up and running. As well as boot scripts to create the /dev file. > I've compiled the patched kernel with ivshmem enabled as a module. > Now, I'm running kvm over this kernel. So, what is the next step? > > I've tried this on my kvm guests: > num =`cat /proc/devices | grep kvm_ivshmem | awk '{print $1}` > mknod --mode=666 /dev/ivshmem $num 0 > But, the /proc/devices file has no reference to kvm_ivshmem. Are you running the patched kernel on the host or in the guest. It's meant to run in the guest. Cam ----------------------------------------------- A. Cameron Macdonell Ph.D. Student Department of Computing Science University of Alberta cam@cs.ualberta.ca